Searched refs:closure (Results 51 – 75 of 148) sorted by relevance
123456
/PHP-7.4/Zend/tests/ |
H A D | closure_043.phpt | 5 /* Whether it's scoped or not, a static closure cannot have 58 Warning: Cannot bind an instance to a static closure in %s on line %d 60 Warning: Cannot bind an instance to a static closure in %s on line %d 70 Warning: Cannot bind an instance to a static closure in %s on line %d 72 Warning: Cannot bind an instance to a static closure in %s on line %d
|
H A D | bug72057.phpt | 16 #0 %s(%d): {closure}(8, 'A non well form...', '%s', %d, Array) 17 #1 %s(%d): {closure}('7as')
|
H A D | closure_033.phpt | 2 Closure 033: Dynamic closure property and private function 26 {closure}()
|
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 | bug49908.phpt | 32 #0 [internal function]: {closure}('Bar') 34 #2 [internal function]: {closure}('Foo')
|
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
|
/PHP-7.4/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.4/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.4/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.4/ext/spl/tests/ |
H A D | spl_autoload_013.phpt | 5 $closure = function($class) { 22 spl_autoload_register($closure);
|
/PHP-7.4/ext/standard/tests/serialize/ |
H A D | bug30234.phpt | 32 {closure}(autoload_interface) 33 {closure}(Autoload_Implements)
|
/PHP-7.4/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.4/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.4/Zend/tests/arrow_functions/ |
H A D | 006.phpt | 35 Argument 1 passed to {closure}() must be of the type int, string given, called in %s on line %d 44 Argument 2 passed to {closure}() must be of the type int or null, string given, called in %s on lin…
|
/PHP-7.4/ext/standard/tests/general_functions/ |
H A D | closures_001.phpt | 2 register_shutdown_function() & closure
|
/PHP-7.4/Zend/tests/generators/ |
H A D | yield_closure.phpt | 2 Generator shouldn't crash if last yielded value is a closure
|
Completed in 15 milliseconds
123456