Home
last modified time | relevance | path

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

123

/PHP-5.5/Zend/tests/
H A Dclosure_045.phpt18 Warning: Cannot bind an instance to a static closure in %s on line %d
H A Dbug61273.phpt14 Warning: Parameter 1 to {closure}() expected to be a reference, value given in %sbug61273.php on li…
H A Dbug54367.phpt2 Bug #54367 (Use of closure causes problem in ArrayAccess)
H A Dclosure_046.phpt2 …: Rebinding: preservation of previous scope when "static" given as scope arg (same as closure #041)
58 Warning: Cannot bind an instance to a static closure in %s on line %d
H A Dclosure_026.phpt2 Closure 026: Assigning a closure object to an array in $this
H A Dbug64966.phpt25 #0 [internal function]: {closure}(4096, 'Argument 1 pass...', '%s', 6, Array)
H A Dclosure_041.phpt87 Warning: Cannot bind an instance to a static closure in %s on line %d
90 Warning: Cannot bind an instance to a static closure in %s on line %d
96 Warning: Cannot bind an instance to a static closure in %s on line %d
H A Dclosure_020.phpt13 var_dump(is_a($this->a, 'closure'));
H A Dbug52193.phpt2 Bug #52193 (converting closure to array yields empty array)
H A Dbug60909_1.phpt16 #0 %sbug60909_1.php(8): {closure}(2, 'require(notfoun...', '%s', 8, Array)
H A Dbug61767.phpt22 #0 %sbug61767.php(%d): {closure}(%s, 'Undefined varia...', '%s', %d, Array)
H A Dclosure_040.phpt45 Warning: Cannot bind an instance to a static closure in %s on line %d
H A Dclosure_044.phpt5 /* A non-static closure has a bound instance if it has a scope
/PHP-5.5/ext/reflection/tests/
H A DReflectionMethod_getClosure_error.phpt6 * Description: Returns a dynamically created closure for the method
44 $closure = $method->getClosure();
H A DReflectionFunction_isGenerator_basic.phpt6 $closure1 = function() {return "this is a closure"; };
/PHP-5.5/ext/spl/
H A Dphp_spl.c397 zval *closure; member
406 if (alfi->closure) { in autoload_func_info_dtor()
407 zval_ptr_dtor(&alfi->closure); in autoload_func_info_dtor()
538 alfi.closure = NULL; in PHP_FUNCTION()
551 alfi.closure = zcallable; in PHP_FUNCTION()
562 if (alfi.closure) { in PHP_FUNCTION()
593 spl_alfi.closure = NULL; in PHP_FUNCTION()
605 if (alfi.closure) { in PHP_FUNCTION()
606 Z_DELREF_P(alfi.closure); in PHP_FUNCTION()
730 if (alfi->closure) { in PHP_FUNCTION()
[all …]
/PHP-5.5/tests/output/
H A Dob_start_callbacks.phpt9 echo 'closure in variable', "\n";
/PHP-5.5/ext/libxml/tests/
H A Dlibxml_set_external_entity_loader_error1.phpt35 Warning: Missing argument 4 for {closure}() in %s on line %d
/PHP-5.5/ext/reflection/
H A Dphp_reflection.c618 zend_function *closure; in _class_string() local
624 mptr = closure; in _class_string()
626 closure = NULL; in _class_string()
631 _free_function(closure TSRMLS_CC); in _class_string()
1605 zval *closure = NULL; in ZEND_METHOD() local
1620 Z_ADDREF_P(closure); in ZEND_METHOD()
1649 intern->obj = closure; in ZEND_METHOD()
3735 zend_function *closure; in _addmethod() local
3743 mptr = closure; in _addmethod()
3792 if (closure) { in ZEND_METHOD()
[all …]
/PHP-5.5/ext/standard/tests/file/
H A D007_basic.phpt54 // confirm the closure, using ftell() and feof(), expect, false
81 // confirm the closure, using ftell() and feof(), expect, false
/PHP-5.5/
H A DNEWS623 . 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()).

Completed in 131 milliseconds

123