Home
last modified time | relevance | path

Searched refs:callable (Results 1 – 25 of 59) sorted by path

123

/PHP-7.4/
H A DCONTRIBUTING.md375 6. If you modified a function that is callable from PHP, prepend PHP to the
H A DUPGRADING536 . bool sapi_windows_set_ctrl_handler(callable handler, [, bool add = true]) -
/PHP-7.4/Zend/tests/
H A Dbug29210.phpt22 echo "test_func1 isn't callable from inside\n";
72 echo "test_func1 isn't callable from outside\n";
77 echo "test_func2 isn't callable from outside\n";
82 echo "test_func3 isn't callable from outside\n";
87 echo "test_func4 isn't callable from outside\n";
97 test_func1 isn't callable from outside
98 test_func2 isn't callable from outside
99 test_func3 isn't callable from outside
100 test_func4 isn't callable from outside
101 test_func1 isn't callable from child
[all …]
H A Dbug44141.phpt2 Bug #44141 (private parent constructor callable through static function)
H A Dbug55705.phpt2 Bug #55705 (Omitting a callable typehinted argument causes a segfault)
5 function f(callable $c) {}
H A Dbug68475.phpt2 Bug #68475 Calling function using $callable() syntax with strings of form 'Class::method'
H A Dbug70895.phpt2 Bug #70895 null ptr deref and segfault with crafted callable
H A Dbug70898.phpt2 Bug #70895 null ptr deref and segfault with crafted callable
H A Dbug71622.phpt2 Bug #71622 (Strings used in pass-as-reference cannot be used to invoke C::$callable())
H A Dcall_user_func_closure_from_static_method.phpt7 public static function exec(callable $c) {
H A Dexception_017.phpt9 function foo(callable $x) {
33 Exception: Argument 1 passed to foo() must be callable, string given, called in %s on line %d
/PHP-7.4/Zend/tests/closures/
H A Dclosure_from_callable_basic.phpt44 echo "Instance return private method as callable";
49 echo "Instance return private static method as callable";
54 echo 'Instance return protected static method as callable';
110 Instance return private method as callable OK
111 Instance return private static method as callable OK
112 Instance return protected static method as callable OK
H A Dclosure_from_callable_non_static_statically.phpt20 Failed to create closure from callable: non-static method A::method() should not be called statical…
H A Dclosure_from_callable_reflection.phpt26 foreach ($callables as $callable) {
27 $closure = Closure::fromCallable($callable);
/PHP-7.4/Zend/tests/grammar/
H A Dsemi_reserved_001.phpt9 function callable(){ echo __METHOD__, PHP_EOL; }
89 $obj->callable();
168 Obj::callable
H A Dsemi_reserved_002.phpt9 static function callable(){ echo __METHOD__, PHP_EOL; }
87 Obj::callable();
166 Obj::callable
H A Dsemi_reserved_003.phpt9 var $callable = 'callable';
90 echo $obj->callable, PHP_EOL;
172 callable
H A Dsemi_reserved_004.phpt9 static $callable = 'callable';
88 echo Obj::$callable, PHP_EOL;
168 callable
H A Dsemi_reserved_005.phpt9 const CALLABLE = 'callable';
164 callable
/PHP-7.4/Zend/tests/nullable_types/
H A Dnullable_type_parameters_do_not_have_default_value.phpt6 function f(?callable $p) {}
/PHP-7.4/Zend/tests/return_types/
H A D011.phpt2 Function returned callable, expected callable
5 function foo() : callable {
H A D012.phpt2 Method returned callable, expected callable
6 public function bar() : callable {
H A D013.phpt6 public function bar() : callable {
H A D022.phpt12 $callable = $test();
13 var_dump($callable());
/PHP-7.4/Zend/tests/type_declarations/
H A Dadd_return_type.phpt15 public function c() : callable;

Completed in 28 milliseconds

123