Searched refs:callable (Results 1 – 25 of 59) sorted by path
123
/PHP-7.4/ |
H A D | CONTRIBUTING.md | 375 6. If you modified a function that is callable from PHP, prepend PHP to the
|
H A D | UPGRADING | 536 . bool sapi_windows_set_ctrl_handler(callable handler, [, bool add = true]) -
|
/PHP-7.4/Zend/tests/ |
H A D | bug29210.phpt | 22 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 D | bug44141.phpt | 2 Bug #44141 (private parent constructor callable through static function)
|
H A D | bug55705.phpt | 2 Bug #55705 (Omitting a callable typehinted argument causes a segfault) 5 function f(callable $c) {}
|
H A D | bug68475.phpt | 2 Bug #68475 Calling function using $callable() syntax with strings of form 'Class::method'
|
H A D | bug70895.phpt | 2 Bug #70895 null ptr deref and segfault with crafted callable
|
H A D | bug70898.phpt | 2 Bug #70895 null ptr deref and segfault with crafted callable
|
H A D | bug71622.phpt | 2 Bug #71622 (Strings used in pass-as-reference cannot be used to invoke C::$callable())
|
H A D | call_user_func_closure_from_static_method.phpt | 7 public static function exec(callable $c) {
|
H A D | exception_017.phpt | 9 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 D | closure_from_callable_basic.phpt | 44 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 D | closure_from_callable_non_static_statically.phpt | 20 Failed to create closure from callable: non-static method A::method() should not be called statical…
|
H A D | closure_from_callable_reflection.phpt | 26 foreach ($callables as $callable) { 27 $closure = Closure::fromCallable($callable);
|
/PHP-7.4/Zend/tests/grammar/ |
H A D | semi_reserved_001.phpt | 9 function callable(){ echo __METHOD__, PHP_EOL; } 89 $obj->callable(); 168 Obj::callable
|
H A D | semi_reserved_002.phpt | 9 static function callable(){ echo __METHOD__, PHP_EOL; } 87 Obj::callable(); 166 Obj::callable
|
H A D | semi_reserved_003.phpt | 9 var $callable = 'callable'; 90 echo $obj->callable, PHP_EOL; 172 callable
|
H A D | semi_reserved_004.phpt | 9 static $callable = 'callable'; 88 echo Obj::$callable, PHP_EOL; 168 callable
|
H A D | semi_reserved_005.phpt | 9 const CALLABLE = 'callable'; 164 callable
|
/PHP-7.4/Zend/tests/nullable_types/ |
H A D | nullable_type_parameters_do_not_have_default_value.phpt | 6 function f(?callable $p) {}
|
/PHP-7.4/Zend/tests/return_types/ |
H A D | 011.phpt | 2 Function returned callable, expected callable 5 function foo() : callable {
|
H A D | 012.phpt | 2 Method returned callable, expected callable 6 public function bar() : callable {
|
H A D | 013.phpt | 6 public function bar() : callable {
|
H A D | 022.phpt | 12 $callable = $test(); 13 var_dump($callable());
|
/PHP-7.4/Zend/tests/type_declarations/ |
H A D | add_return_type.phpt | 15 public function c() : callable;
|
Completed in 28 milliseconds
123