Home
last modified time | relevance | path

Searched refs:closure (Results 26 – 50 of 71) sorted by relevance

123

/PHP-5.5/ext/reflection/tests/
H A DReflectionClass_isCloneable_001.phpt32 $closure = function () { };
33 $obj = new ReflectionClass($closure);
35 $obj = new ReflectionObject($closure);
37 $h = clone $closure;
H A DReflectionFunction_getClosure_error.phpt6 * Description: Returns a dynamically created closure for the function
19 $closure = $func->getClosure('bar');
/PHP-5.5/Zend/tests/
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
64 Warning: Cannot bind an instance to a static closure in %s on line %d
77 Warning: Cannot bind an instance to a static closure in %s on line %d
82 Warning: Cannot bind an instance to a static closure in %s on line %d
H A Dcallable_type_hint_002.phpt11 $closure = function (callable $arg) {};
19 $rc = new ReflectionFunction($closure);
H A Dclosure_033.phpt2 Closure 033: Dynamic closure property and private function
26 Test::{closure}()
H A Dcallable_type_hint_001.phpt13 $closure = function () {};
19 foo($closure);
H A Dclosure_027.phpt6 function test(closure $a) {
28 Warning: Missing argument 1 for {closure}(), called in %s on line %d and defined in %s on line %d
H A Dbug64960.phpt16 // this must be a class, closure does not trigger segfault
36 #0 [internal function]: {closure}(8, 'ob_end_clean():...', '%s', 9, Array)
H A Dclosure_025.phpt2 Closure 025: Using closure in create_function()
H A Dclosure_011.phpt2 Closure 011: Lexical copies not static in closure
H A Dclosure_051.phpt2 Closure 051: static::class in static closure in static method.
H A Dclosure_052.phpt2 Closure 052: static::class in non-static closure in static method.
H A Dclosure_055.phpt2 Closure 055: self::class in static closure in static method.
H A Dclosure_056.phpt2 Closure 056: self::class in non-static closure in static method.
H A Dclosure_049.phpt2 Closure 049: static::class in static closure in non-static method.
H A Dclosure_050.phpt2 Closure 050: static::class in non-static closure in non-static method.
H A Dclosure_053.phpt2 Closure 053: self::class in static closure in non-static method.
H A Dclosure_054.phpt2 Closure 054: self::class in non-static closure in non-static method.
H A Dbug64979.phpt2 Bug #64979 (Wrong behavior of static variables in closure generators)
/PHP-5.5/ext/standard/tests/array/
H A Darray_walk_closure.phpt2 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-5.5/ext/spl/tests/
H A Dspl_autoload_013.phpt5 $closure = function($class) {
22 spl_autoload_register($closure);
/PHP-5.5/ext/standard/tests/general_functions/
H A Dclosures_001.phpt2 register_shutdown_function() & closure
H A Dclosures_002.phpt2 register_tick_function() & closure
/PHP-5.5/Zend/tests/generators/
H A Dyield_closure.phpt2 Generator shouldn't crash if last yielded value is a closure
/PHP-5.5/ext/filter/tests/
H A Dcallback_closure.phpt2 callback function is a closure

Completed in 18 milliseconds

123