/PHP-8.3/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-8.3/Zend/tests/ |
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 | 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(6): {closure}('foo')
|
H A D | closure_059.phpt | 37 Exception: {closure}(): Argument #1 ($a) must be of type A, B given, called in %s on line %d 38 Exception: {closure}(): Argument #1 ($a) must be of type A, B given 39 Exception: {closure}(): Argument #1 ($a) must be of type A, B given
|
H A D | bug26697.phpt | 16 {closure}(NotExistingClass) 18 {closure}(NotExistingClass), done
|
H A D | bug81626.phpt | 13 $closure = Closure::fromCallable([TestClass::class, 'foo']); 14 var_dump($closure());
|
H A D | closure_007.phpt | 26 $closure = $getClosure(); 28 $closure();
|
H A D | closure_043.phpt | 5 /* Whether it's scoped or not, a static closure cannot have 59 Warning: Cannot bind an instance to a static closure in %s on line %d 61 Warning: Cannot bind an instance to a static closure in %s on line %d 71 Warning: Cannot bind an instance to a static closure in %s on line %d 73 Warning: Cannot bind an instance to a static closure in %s on line %d
|
H A D | closure_033.phpt | 2 Closure 033: Dynamic closure property and private function 26 {closure}()
|
/PHP-8.3/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-8.3/Zend/tests/variadic/ |
H A D | closure_invoke.phpt | 6 $closure = function(&...$refs) {}; 7 $closure->__invoke(
|
/PHP-8.3/Zend/tests/type_declarations/ |
H A D | scalar_none.phpt | 29 *** Caught Too few arguments to function {closure}(), 0 passed in %s on line %d and exactly 1 expec… 31 *** Caught Too few arguments to function {closure}(), 0 passed in %s on line %d and exactly 1 expec… 33 *** Caught Too few arguments to function {closure}(), 0 passed in %s on line %d and exactly 1 expec… 35 *** Caught Too few arguments to function {closure}(), 0 passed in %s on line %d and exactly 1 expec…
|
H A D | scalar_null.phpt | 30 *** Caught {closure}(): Argument #1 ($i) must be of type int, null given, called in %s on line %d 32 *** Caught {closure}(): Argument #1 ($f) must be of type float, null given, called in %s on line %d 34 *** Caught {closure}(): Argument #1 ($s) must be of type string, null given, called in %s on line %d 36 *** Caught {closure}(): Argument #1 ($b) must be of type bool, null given, called in %s on line %d
|
/PHP-8.3/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-8.3/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;
|
H A D | ReflectionFunction_getClosureCalledClass.phpt | 25 echo static::class.'::{closure}'."\n"; 69 echo "{closure}\n"; 106 B::{closure} 108 {closure}
|
H A D | default_value_internal_userland_arginfo.phpt | 5 $closure = function ($b = 0) {}; 6 $ro = new ReflectionObject($closure);
|
/PHP-8.3/Zend/tests/function_arguments/ |
H A D | call_with_trailing_comma_basic.phpt | 53 'closure', 90 {closure} 93 string(7) "closure"
|
/PHP-8.3/ext/zend_test/tests/ |
H A D | observer_fiber_functions_01.phpt | 36 <!-- init {closure}() --> 37 <{closure}> 55 </{closure}>
|
H A D | observer_fiber_functions_02.phpt | 35 <!-- init {closure}() --> 36 <{closure}> 52 </{closure}>
|
/PHP-8.3/sapi/phpdbg/tests/ |
H A D | gh13827.phpt | 28 prompt> frame #0: {closure}() at %s:6 29 => {closure} (internal function)
|
/PHP-8.3/ext/standard/tests/array/ |
H A D | bug52719.phpt | 15 Warning: {closure}(): Argument #3 ($userdata) must be passed by reference, value given in %s on lin… 17 Warning: {closure}(): Argument #3 ($userdata) must be passed by reference, value given in %s on lin…
|
/PHP-8.3/Zend/tests/return_types/ |
H A D | 013.phpt | 18 Fatal error: Uncaught TypeError: foo::{closure}(): Return value must be of type array, null returne… 20 #0 %s(%d): foo->{closure}()
|