/php-src/Zend/tests/ |
H A D | bug31102.phpt | 40 {closure:%s:%d}(Test1,1) 42 {closure:%s:%d}(Test2,2) 43 Caught: {closure:%s:%d} 44 {closure:%s:%d}(Test3,3)
|
H A D | first_class_callable_009.phpt | 5 $closure = function() { 9 $foo = $closure->__invoke(...);
|
H A D | closure_006.phpt | 12 $closure = $getClosure (2); 13 $closure ();
|
H A D | closure_call_leak_with_exception.phpt | 7 $closure = function($foo) { var_dump($foo); }; 8 $closure(yield);
|
H A D | closure_026.phpt | 2 Closure 026: Assigning a closure object to an array in $this 38 string(%d) "{closure:%s:%d}" 55 string(%d) "{closure:%s:%d}"
|
H A D | bug77627.phpt | 8 $closure = function(){}; 10 var_dump(method_exists($closure, "__INVOKE"));
|
H A D | gh8810_3.phpt | 2 GH-8810: Fix reported line number of multi-line closure call 17 #0 %s(%d): {closure:%s:%d}('foo')
|
H A D | bug81076.phpt | 2 Bug #81076 Invalid implicit binds cause incorrect static var count in closure debug info 10 string(%d) "{closure:%s:%d}"
|
H A D | closure_059.phpt | 37 Exception: {closure:%s:%d}(): Argument #1 ($a) must be of type A, B given, called in %s on line %d 38 Exception: {closure:%s:%d}(): Argument #1 ($a) must be of type A, B given 39 Exception: {closure:%s:%d}(): Argument #1 ($a) must be of type A, B given
|
H A D | bug81626.phpt | 13 $closure = Closure::fromCallable([TestClass::class, 'foo']); 14 var_dump($closure());
|
/php-src/Zend/tests/function_arguments/ |
H A D | sensitive_parameter_closure.phpt | 17 #0 %s(%d): {closure:%s:%d}(Object(SensitiveParameterValue)) 26 string(%d) "{closure:%s:%d}" 43 string(%d) "{closure:%s:%d}"
|
/php-src/ext/standard/tests/strings/ |
H A D | str_replace_array_refs2.phpt | 5 $closure = function (array $array, array $keys, $value) 18 $obj->prop = $closure($obj->prop, ['x'], 'a'); 22 $array = $closure($array, ['x'], 'a');
|
/php-src/ext/zend_test/tests/ |
H A D | observer_fiber_functions_03.phpt | 44 <!-- init {closure:%s:%d}() --> 45 <{closure:%s:%d}> 61 <!-- init {closure:%s:%d}() --> 62 <{closure:%s:%d}> 80 </{closure:%s:%d}>
|
H A D | observer_shutdown_01.phpt | 38 <!-- init {closure:%s:%d}() --> 39 <{closure:%s:%d}> 48 </{closure:%s:%d}:NULL>
|
H A D | observer_error_05.phpt | 33 <!-- init {closure:%s:%d}() --> 34 <{closure:%s:%d}> 40 </{closure:%s:%d}:NULL>
|
/php-src/ext/curl/tests/ |
H A D | curl_basic_006.phpt | 2 Test curl_opt() function with CURLOPT_WRITEFUNCTION parameter set to a closure 14 echo '*** Testing curl_setopt($ch, CURLOPT_WRITEFUNCTION, <closure>); ***' . "\n"; 33 *** Testing curl_setopt($ch, CURLOPT_WRITEFUNCTION, <closure>); ***
|
/php-src/Zend/tests/type_declarations/ |
H A D | callable_001.phpt | 13 $closure = function () {}; 17 foo($closure); 26 string(%d) "{closure:%s:%d}"
|
H A D | scalar_none.phpt | 29 *** Caught Too few arguments to function {closure:%s:%d}(), 0 passed in %s on line %d and exactly 1… 31 *** Caught Too few arguments to function {closure:%s:%d}(), 0 passed in %s on line %d and exactly 1… 33 *** Caught Too few arguments to function {closure:%s:%d}(), 0 passed in %s on line %d and exactly 1… 35 *** Caught Too few arguments to function {closure:%s:%d}(), 0 passed in %s on line %d and exactly 1…
|
H A D | scalar_null.phpt | 30 *** Caught {closure:%s:%d}(): Argument #1 ($i) must be of type int, null given, called in %s on lin… 32 *** Caught {closure:%s:%d}(): Argument #1 ($f) must be of type float, null given, called in %s on l… 34 *** Caught {closure:%s:%d}(): Argument #1 ($s) must be of type string, null given, called in %s on … 36 *** Caught {closure:%s:%d}(): Argument #1 ($b) must be of type bool, null given, called in %s on li…
|
/php-src/ext/spl/tests/ |
H A D | spl_autoload_013.phpt | 5 $closure = function($class) { 22 spl_autoload_register($closure); 34 string(%d) "{closure:%s:%d}"
|
/php-src/ext/standard/tests/general_functions/ |
H A D | bug66094.phpt | 6 register_tick_function($closure = function () { echo "Tick!\n"; }); 7 unregister_tick_function($closure);
|
/php-src/Zend/tests/variadic/ |
H A D | closure_invoke.phpt | 6 $closure = function(&...$refs) {}; 7 $closure->__invoke(
|
/php-src/ext/opcache/tests/jit/ |
H A D | closure_001.phpt | 36 string(%d) "{closure:%s:%d}" 47 string(%d) "{closure:%s:%d}" 58 string(%d) "{closure:%s:%d}"
|
/php-src/ext/reflection/tests/types/ |
H A D | ReflectionType_002.phpt | 6 $closure = function(Test $x): Test2 { return new Test2($x); }; 7 $rm = new ReflectionMethod($closure, '__invoke');
|
/php-src/ext/reflection/tests/ |
H A D | ReflectionClass_isCloneable_001.phpt | 33 $closure = function () { }; 34 $obj = new ReflectionClass($closure); 36 $obj = new ReflectionObject($closure); 38 $h = clone $closure;
|