Home
last modified time | relevance | path

Searched refs:closure (Results 76 – 100 of 234) sorted by relevance

12345678910

/PHP-8.3/ext/opcache/tests/jit/
H A Dfetch_dim_rw_004.phpt16 Fatal error: Uncaught TypeError: {closure}(): Argument #1 ($y) must be of type y, int given, called…
18 #0 %sfetch_dim_rw_004.php(5): {closure}(2, 'Undefined varia...', '%s', 5)
/PHP-8.3/Zend/tests/
H A Dbug74164.phpt15 Fatal error: Uncaught Exception: Foo\{closure}(): Argument #1 ($ref) must be passed by reference, v…
17 #0 [internal function]: Foo\{closure}(%s)
H A Dbug49908.phpt32 #0 %s(%d): {closure}('Bar')
33 #1 %s(%d): {closure}('Foo')
H A Dnested_method_and_function.phpt37 string(13) "Baz\{closure}"
38 string(13) "Baz\{closure}"
H A Ddynamic_call_to_ref_returning_function.phpt15 $closure = function &($x) {
18 var_dump($closure->call(new class {}, 42));
H A Dgh9916-009.phpt31 #0 [internal function]: {closure}()
33 #2 [internal function]: {closure}()
H A Dclosure_extra_args.phpt2 Immediately invoked closure with extra args
H A Dfake_closure_in_internal_func_leaks.phpt2 Fake closure called from internal function leaks
/PHP-8.3/Zend/tests/fibers/
H A Dticks.phpt29 #1 %sticks.php(%d): {closure}()
30 #2 [internal function]: {closure}()
H A Dfailing-nested-fiber.phpt25 #0 [internal function]: {closure}(1, 2)
27 #2 [internal function]: {closure}()
H A Dresume-previous-fiber.phpt23 #1 [internal function]: {closure}()
25 #3 [internal function]: {closure}()
H A Dstart-arguments.phpt24 Fatal error: Uncaught TypeError: {closure}(): Argument #1 ($x) must be of type int, string given in…
26 #0 [internal function]: {closure}('test')
H A Dsignal-async.phpt33 #1 %ssignal-async.php(%d): {closure}(%d, Array)
34 #2 [internal function]: {closure}()
H A Dsignal-dispatch.phpt41 #1 [internal function]: {closure}(%d, Array)
43 #3 [internal function]: {closure}()
H A Dthrow-in-multiple-destroyed-fibers-after-shutdown.phpt40 #0 [internal function]: {closure}()
45 #0 [internal function]: {closure}()
/PHP-8.3/ext/spl/tests/
H A Dspl_autoload_013.phpt5 $closure = function($class) {
22 spl_autoload_register($closure);
/PHP-8.3/Zend/tests/type_declarations/
H A Dcallable_001.phpt13 $closure = function () {};
17 foo($closure);
H A Dcallable_002.phpt11 $closure = function (callable $arg) {};
19 $rc = new ReflectionFunction($closure);
/PHP-8.3/ext/standard/tests/serialize/
H A Dbug30234.phpt31 {closure}(autoload_interface)
32 {closure}(Autoload_Implements)
/PHP-8.3/Zend/tests/closures/
H A Dclosure_from_callable_basic.phpt36 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';
107 Closure is already a closure OK
112 Subclass closure over parent class protected method OK
113 Subclass closure over parent class static protected method OK
H A Dclosure_from_callable_reflection.phpt27 $closure = Closure::fromCallable($callable);
28 $refl = new ReflectionFunction($closure);
/PHP-8.3/sapi/phpdbg/tests/
H A Dexceptions_001.phpt16 prompt> frame #0: {closure}() at %s:16
22 #0 %s(22): {closure}()
H A Dexceptions_002.phpt20 #1 %s(20): {closure}()
26 #0 %s(20): {closure}()
/PHP-8.3/Zend/tests/arrow_functions/
H A D006.phpt35 {closure}(): Argument #1 ($x) must be of type int, string given, called in %s on line %d
44 {closure}(): Argument #2 must be of type ?int, string given, called in %s on line %d
/PHP-8.3/ext/spl/
H A Dphp_spl.c363 zend_object *closure; member
376 if (alfi->closure) { in autoload_func_info_destroy()
377 zend_object_release(alfi->closure); in autoload_func_info_destroy()
397 alfi->closure = Z_OBJ(fci->function_name); in autoload_func_info_from_fci()
398 GC_ADDREF(alfi->closure); in autoload_func_info_from_fci()
400 alfi->closure = NULL; in autoload_func_info_from_fci()
413 && alfi1->closure == alfi2->closure in autoload_func_info_equals()
420 && alfi1->closure == alfi2->closure; in autoload_func_info_equals()
562 alfi->closure = NULL; in PHP_FUNCTION()
628 if (alfi->closure) { in PHP_FUNCTION()
[all …]

Completed in 21 milliseconds

12345678910