Searched refs:closure (Results 1 – 25 of 71) sorted by path
123
/PHP-5.5/ |
H A D | NEWS | 623 . Fixed bug #67068 (getClosure returns somethings that's not a closure). 1509 . Fixed bug #64979 (Wrong behavior of static variables in closure generators). 3166 . Added closure $this support back. (Stas) 3179 . Implemented closure rebinding as parameter to bindTo. (Gustavo Lopes) 4060 . Fixed bug #54367 (Use of closure causes problem in ArrayAccess). (Dmitry) 4993 - Fixed bug #52193 (converting closure to array yields empty array). (Felipe) 5011 - Fixed bug #52060 (Memory leak when passing a closure to method_exists()).
|
/PHP-5.5/Zend/tests/ |
H A D | 037.phpt | 6 namespace closure; 8 class closure { static $x = 1;} 11 var_dump(closure::$x);
|
H A D | bug52060.phpt | 2 Bug #52060 (Memory leak when passing a closure to method_exists()) 6 $closure = function($a) { echo $a; }; 8 var_dump(method_exists($closure, '__invoke')); // true
|
H A D | bug52193.phpt | 2 Bug #52193 (converting closure to array yields empty array)
|
H A D | bug54358.phpt | 12 $closure = function() use ($asserter, &$function) { 16 $closure(); 20 $closure = function() use ($asserter, $function) { 24 $closure(); 28 $closure = function() use ($asserter, $function) { 32 $closure();
|
H A D | bug54367.phpt | 2 Bug #54367 (Use of closure causes problem in ArrayAccess)
|
H A D | bug60909_1.phpt | 16 #0 %sbug60909_1.php(8): {closure}(2, 'require(notfoun...', '%s', 8, Array)
|
H A D | bug61273.phpt | 14 Warning: Parameter 1 to {closure}() expected to be a reference, value given in %sbug61273.php on li…
|
H A D | bug61767.phpt | 22 #0 %sbug61767.php(%d): {closure}(%s, 'Undefined varia...', '%s', %d, Array)
|
H A D | bug62991.phpt | 2 Bug #62991 (Segfault with generator and closure) 8 $closure = function() use ( $array ) { 12 return $closure(); 17 $closure = function() use ( $array ) { 21 return $closure; // if you return the $closure and call it outside this function it works.
|
H A D | bug64960.phpt | 16 // this must be a class, closure does not trigger segfault 36 #0 [internal function]: {closure}(8, 'ob_end_clean():...', '%s', 9, Array)
|
H A D | bug64966.phpt | 25 #0 [internal function]: {closure}(4096, 'Argument 1 pass...', '%s', 6, Array)
|
H A D | bug64979.phpt | 2 Bug #64979 (Wrong behavior of static variables in closure generators)
|
H A D | callable_type_hint_001.phpt | 13 $closure = function () {}; 19 foo($closure);
|
H A D | callable_type_hint_002.phpt | 11 $closure = function (callable $arg) {}; 19 $rc = new ReflectionFunction($closure);
|
H A D | closure_006.phpt | 12 $closure = $getClosure (2); 13 $closure ();
|
H A D | closure_007.phpt | 26 $closure = $getClosure(); 28 $closure();
|
H A D | closure_011.phpt | 2 Closure 011: Lexical copies not static in closure
|
H A D | closure_020.phpt | 13 var_dump(is_a($this->a, 'closure'));
|
H A D | closure_025.phpt | 2 Closure 025: Using closure in create_function()
|
H A D | closure_026.phpt | 2 Closure 026: Assigning a closure object to an array in $this
|
H A D | closure_027.phpt | 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
|
H A D | closure_029.phpt | 6 var_dump(function() { } instanceof closure); 7 var_dump(function(&$x) { } instanceof closure); 8 var_dump(@function(&$x) use ($y, $z) { } instanceof closure);
|
H A D | closure_032.phpt | 6 function test(closure $a) { 23 [function] => {closure} 32 #0 {closure}(23) called at [%s:%d] 39 [function] => {closure} 68 #0 {closure}(23) called at [%s:%d]
|
H A D | closure_033.phpt | 2 Closure 033: Dynamic closure property and private function 26 Test::{closure}()
|
Completed in 55 milliseconds
123