Searched refs:callable (Results 1 – 25 of 59) sorted by relevance
123
/PHP-7.1/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 | bug55705.phpt | 2 Bug #55705 (Omitting a callable typehinted argument causes a segfault) 5 function f(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 %sexception_017.php…
|
H A D | call_user_func_closure_from_static_method.phpt | 7 public static function exec(callable $c) {
|
/PHP-7.1/tests/classes/ |
H A D | inheritance_005.phpt | 25 echo "Is B::B() callable?\n"; 28 echo "Is B::A() callable?\n"; 34 echo "Is C::A() callable?\n"; 37 echo "Is C::B() callable?\n"; 40 echo "Is C::C() callable?\n"; 47 Is B::B() callable? 49 Is B::A() callable? 53 Is C::A() callable? 55 Is C::B() callable? 57 Is C::C() callable?
|
/PHP-7.1/Zend/tests/type_declarations/ |
H A D | callable_003.phpt | 2 callable type#003 6 function foo(callable $a, $b, callable $c) { 9 function bar(callable $a = null) {
|
H A D | callable_002.phpt | 2 callable type#002 - Reflection 7 static function foo(callable $arg) {} 9 function foo(callable $bar) { 11 $closure = function (callable $arg) {};
|
H A D | callable_001.phpt | 2 callable type#001 10 function foo(callable $bar) {
|
H A D | add_return_type.phpt | 15 public function c() : callable;
|
/PHP-7.1/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 | 022.phpt | 12 $callable = $test(); 13 var_dump($callable());
|
/PHP-7.1/ext/readline/tests/ |
H A D | readline_completion_function_001.phpt | 23 Warning: readline_completion_function(): 1 is not callable in %s on line %d 25 Warning: readline_completion_function(): 1.1231 is not callable in %s on line %d
|
/PHP-7.1/ext/pdo_sqlite/tests/ |
H A D | pdo_sqlite_createfunction_002.phpt | 3 un-callable function passed 17 Warning: PDO::sqliteCreateFunction(): function 'bar' is not callable in %s on line %d
|
H A D | pdo_sqlite_createaggregate_002.phpt | 15 Warning: PDO::sqliteCreateAggregate(): function 'a' is not callable in %s on line %d 17 Warning: PDO::sqliteCreateAggregate(): function '' is not callable in %s on line %d
|
/PHP-7.1/ext/pcntl/tests/ |
H A D | pcntl_signal.phpt | 24 var_dump(pcntl_signal(SIGALRM, "not callable")); 45 Warning: pcntl_signal(): not callable is not a callable function name error in %s
|
/PHP-7.1/ext/reflection/tests/ |
H A D | ReflectionType_possible_types.phpt | 13 function(): callable {}, 31 string(8) "callable"
|
/PHP-7.1/ext/interbase/tests/ |
H A D | bug45575.phpt | 20 Warning: ibase_set_event_handler(): Callback argument is not a callable function in %s on line %d 22 Warning: ibase_set_event_handler(): Callback argument 1 is not a callable function in %s on line %d
|
H A D | bug46247.phpt | 31 Warning: ibase_set_event_handler(): Callback argument foo is not a callable function in %s on line … 33 Warning: ibase_set_event_handler(): Callback argument foo is not a callable function in %s on line …
|
/PHP-7.1/ext/spl/tests/ |
H A D | bug73896.phpt | 6 public static function call($callable, array $args) { 7 return call_user_func_array($callable, [$args]);
|
H A D | spl_autoload_007.phpt | 63 Function 'MyAutoLoader::noAccess' not callable (cannot access protected method MyAutoLoader::noAcce… 69 Function 'MyAutoLoader::dynaLoad' not callable (non-static method MyAutoLoader::dynaLoad() should n… 85 Passed array does not specify a callable static method (cannot access protected method MyAutoLoader… 119 Passed array does not specify a callable method (cannot access protected method MyAutoLoader::noAcc…
|
/PHP-7.1/ext/opcache/tests/ |
H A D | ssa_bug_003.phpt | 6 function test1($x) : callable { 37 Error: Return value of test1() must be callable, string returned
|
/PHP-7.1/Zend/tests/closures/ |
H A D | closure_from_callable_reflection.phpt | 26 foreach ($callables as $callable) { 27 $closure = Closure::fromCallable($callable);
|
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…
|
Completed in 29 milliseconds
123