Home
last modified time | relevance | path

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

1234567891011

/php-src/Zend/tests/
H A Dbug26697.phpt16 {closure:%s:%d}(NotExistingClass)
18 {closure:%s:%d}(NotExistingClass), done
H A Dclosure_007.phpt26 $closure = $getClosure();
28 $closure();
H A Dclosure_043.phpt5 /* 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 Dclosure_033.phpt2 Closure 033: Dynamic closure property and private function
26 {closure:%s:%d}()
H A Dcall_user_func_003.phpt26 string(%d) "{closure:%s:%d}"
36 string(%d) "{closure:%s:%d}"
H A Dbug74164.phpt15 Fatal error: Uncaught Exception: {closure:%s:%d}(): Argument #1 ($ref) must be passed by reference,…
17 #0 [internal function]: {closure:%s:%d}(2, '%s', '%s', 9)
H A Dnested_method_and_function.phpt37 string(%d) "{closure:%s:%d}"
38 string(%d) "{closure:%s:%d}"
H A Dbug49908.phpt32 #0 %s(%d): {closure:%s:%d}('Bar')
33 #1 %s(%d): {closure:%s:%d}('Foo')
H A Ddynamic_call_to_ref_returning_function.phpt15 $closure = function &($x) {
18 var_dump($closure->call(new class {}, 42));
/php-src/ext/zend_test/tests/
H A Dobserver_fiber_functions_02.phpt35 <!-- init {closure:%s:%d}() -->
36 <{closure:%s:%d}>
52 </{closure:%s:%d}>
H A Dobserver_fiber_functions_01.phpt36 <!-- init {closure:%s:%d}() -->
37 <{closure:%s:%d}>
55 </{closure:%s:%d}>
/php-src/Zend/tests/function_arguments/
H A Dcall_with_trailing_comma_basic.phpt53 'closure',
90 {closure:%s:%d}
93 string(7) "closure"
/php-src/sapi/phpdbg/tests/
H A Dgh13827.phpt28 prompt> frame #0: {closure:%s:%d}() at %s:6
29 => {closure:%s:%d} (internal function)
/php-src/ext/reflection/tests/
H A DReflectionFunction_getClosureCalledClass.phpt25 echo static::class.'::{closure}'."\n";
69 echo "{closure}\n";
106 B::{closure}
108 {closure}
H A Ddefault_value_internal_userland_arginfo.phpt5 $closure = function ($b = 0) {};
6 $ro = new ReflectionObject($closure);
/php-src/Zend/tests/return_types/
H A D013.phpt18 Fatal error: Uncaught TypeError: foo::{closure:%s:%d}(): Return value must be of type array, null r…
20 #0 %s(%d): foo->{closure:%s:%d}()
/php-src/ext/standard/tests/array/
H A Dbug52719.phpt15 Warning: {closure:%s:%d}(): Argument #3 ($userdata) must be passed by reference, value given in %s …
17 Warning: {closure:%s:%d}(): Argument #3 ($userdata) must be passed by reference, value given in %s …
/php-src/Zend/tests/fibers/
H A Dticks.phpt29 #1 %s(%d): {closure:%s:%d}()
30 #2 [internal function]: {closure:%s:%d}()
H A Dfailing-nested-fiber.phpt25 #0 [internal function]: {closure:%s:%d}(1, 2)
27 #2 [internal function]: {closure:%s:%d}()
H A Dstart-arguments.phpt24 Fatal error: Uncaught TypeError: {closure:%s:%d}(): Argument #1 ($x) must be of type int, string gi…
26 #0 [internal function]: {closure:%s:%d}('test')
/php-src/ext/opcache/tests/jit/
H A Dfetch_dim_rw_004.phpt15 Fatal error: Uncaught TypeError: {closure:%s:%d}(): Argument #1 ($y) must be of type y, int given, …
17 #0 %s(%d): {closure:%s:%d}(2, 'Undefined varia...', '%s', 5)
/php-src/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-src/Zend/tests/type_declarations/
H A Dcallable_002.phpt11 $closure = function (callable $arg) {};
19 $rc = new ReflectionFunction($closure);
/php-src/ext/standard/tests/serialize/
H A Dbug30234.phpt31 {closure:%s:%d}(autoload_interface)
32 {closure:%s:%d}(Autoload_Implements)

Completed in 57 milliseconds

1234567891011