Searched refs:closure (Results 26 – 50 of 71) sorted by relevance
123
32 $closure = function () { };33 $obj = new ReflectionClass($closure);35 $obj = new ReflectionObject($closure);37 $h = clone $closure;
6 * Description: Returns a dynamically created closure for the function19 $closure = $func->getClosure('bar');
5 /* Whether it's scoped or not, a static closure cannot have59 Warning: Cannot bind an instance to a static closure in %s on line %d64 Warning: Cannot bind an instance to a static closure in %s on line %d77 Warning: Cannot bind an instance to a static closure in %s on line %d82 Warning: Cannot bind an instance to a static closure in %s on line %d
11 $closure = function (callable $arg) {};19 $rc = new ReflectionFunction($closure);
2 Closure 033: Dynamic closure property and private function26 Test::{closure}()
13 $closure = function () {};19 foo($closure);
6 function test(closure $a) {28 Warning: Missing argument 1 for {closure}(), called in %s on line %d and defined in %s on line %d
16 // this must be a class, closure does not trigger segfault36 #0 [internal function]: {closure}(8, 'ob_end_clean():...', '%s', 9, Array)
2 Closure 025: Using closure in create_function()
2 Closure 011: Lexical copies not static in closure
2 Closure 051: static::class in static closure in static method.
2 Closure 052: static::class in non-static closure in static method.
2 Closure 055: self::class in static closure in static method.
2 Closure 056: self::class in non-static closure in static method.
2 Closure 049: static::class in static closure in non-static method.
2 Closure 050: static::class in non-static closure in non-static method.
2 Closure 053: self::class in static closure in non-static method.
2 Closure 054: self::class in non-static closure in non-static method.
2 Bug #64979 (Wrong behavior of static variables in closure generators)
2 array_walk() closure tests125 closure with array141 closure with use157 closure with object205 closure and exception210 string(9) "{closure}"
5 $closure = function($class) {22 spl_autoload_register($closure);
2 register_shutdown_function() & closure
2 register_tick_function() & closure
2 Generator shouldn't crash if last yielded value is a closure
2 callback function is a closure
Completed in 18 milliseconds