Searched refs:closure (Results 51 – 75 of 131) sorted by relevance
123456
/PHP-7.2/Zend/tests/ |
H A D | closure_033.phpt | 2 Closure 033: Dynamic closure property and private function 26 {closure}()
|
H A D | bug49908.phpt | 25 #0 [internal function]: {closure}('Bar') 27 #2 [internal function]: {closure}('Foo')
|
H A D | bug74164.phpt | 15 Fatal error: Uncaught Exception: Parameter 1 to Foo\{closure}() expected to be a reference, value g… 17 #0 [internal function]: Foo\{closure}(%s)
|
H A D | nested_method_and_function.phpt | 37 string(13) "Baz\{closure}" 38 string(13) "Baz\{closure}"
|
H A D | dynamic_call_to_ref_returning_function.phpt | 15 $closure = function &($x) { 18 var_dump($closure->call(new class {}, 42));
|
H A D | bug64960.phpt | 16 // this must be a class, closure does not trigger segfault 36 #0 [internal function]: {closure}(8, 'ob_end_clean():...', '%s', 9, Array)
|
H A D | closure_027.phpt | 6 function test(closure $a) { 31 Exception: Too few arguments to function {closure}(), 0 passed in %s on line %d and exactly 1 expec…
|
H A D | closure_extra_args.phpt | 2 Immediately invoked closure with extra args
|
H A D | closure_011.phpt | 2 Closure 011: Lexical copies not static in closure
|
/PHP-7.2/Zend/tests/return_types/ |
H A D | 013.phpt | 17 Fatal error: Uncaught TypeError: Return value of foo::{closure}() must be of the type array, null r… 19 #0 %s(%d): foo->{closure}()
|
H A D | 025.phpt | 2 Return type of self is allowed in closure
|
H A D | 022.phpt | 2 Hint on closure with lexical vars
|
/PHP-7.2/Zend/tests/type_declarations/ |
H A D | callable_001.phpt | 13 $closure = function () {}; 19 foo($closure);
|
H A D | self_on_closure_in_method.phpt | 2 self return type on closure in a method
|
/PHP-7.2/ext/standard/tests/array/ |
H A D | array_walk_closure.phpt | 2 array_walk() closure tests 125 closure with array 141 closure with use 157 closure with object 205 closure and exception 210 string(9) "{closure}"
|
/PHP-7.2/ext/reflection/tests/ |
H A D | ReflectionFunction_getClosure_error.phpt | 6 * Description: Returns a dynamically created closure for the function 19 $closure = $func->getClosure('bar');
|
H A D | ReflectionType_001.phpt | 16 $closure = function (Test $a): Test { return $a; }; 22 new ReflectionFunction($closure), 42 new ReflectionMethod($closure, '__invoke'), 64 new ReflectionFunction($closure), 65 new ReflectionMethod($closure, '__invoke'),
|
/PHP-7.2/Zend/tests/closures/ |
H A D | closure_from_callable_basic.phpt | 36 echo 'Closure is already a closure'; 37 $fn = Closure::fromCallable($closure); 59 echo 'Subclass closure over parent class protected method'; 64 echo 'Subclass closure over parent class static protected method'; 108 Closure is already a closure OK 113 Subclass closure over parent class protected method OK 114 Subclass closure over parent class static protected method OK
|
H A D | closure_from_callable_reflection.phpt | 27 $closure = Closure::fromCallable($callable); 28 $refl = new ReflectionFunction($closure);
|
/PHP-7.2/ext/spl/tests/ |
H A D | spl_autoload_013.phpt | 5 $closure = function($class) { 22 spl_autoload_register($closure);
|
/PHP-7.2/ext/standard/tests/serialize/ |
H A D | bug30234.phpt | 32 {closure}(autoload_interface) 33 {closure}(Autoload_Implements)
|
/PHP-7.2/sapi/phpdbg/tests/ |
H A D | exceptions_001.phpt | 16 prompt> frame #0: {closure}() at %s:16 22 #0 %s(22): {closure}()
|
H A D | exceptions_002.phpt | 20 #1 %s(20): {closure}() 26 #0 %s(20): {closure}()
|
/PHP-7.2/ext/standard/tests/general_functions/ |
H A D | closures_001.phpt | 2 register_shutdown_function() & closure
|
/PHP-7.2/Zend/tests/generators/ |
H A D | yield_closure.phpt | 2 Generator shouldn't crash if last yielded value is a closure
|
Completed in 21 milliseconds
123456