Home
last modified time | relevance | path

Searched refs:closure (Results 101 – 124 of 124) sorted by relevance

12345

/PHP-7.1/ext/reflection/tests/
H A DReflectionFunction_isGenerator_basic.phpt6 $closure1 = function() {return "this is a closure"; };
H A DReflectionGenerator_basic.phpt76 string(9) "{closure}"
/PHP-7.1/Zend/tests/
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_020.phpt13 var_dump(is_a($this->a, 'closure'));
H A Dclosure_005.phpt76 #0 %s(%d): A::{closure}()
H A Dclosure_call.phpt64 Warning: Cannot bind closure to scope of internal class stdClass in %s line %d
H A Dclosure_040.phpt45 Warning: Cannot bind an instance to a static closure in %s on line %d
H A Dclosure_041.phpt87 Warning: Cannot bind an instance to a static closure in %s on line %d
91 Warning: Cannot bind an instance to a static closure in %s on line %d
H A Dbug72101.phpt79 #0 %sbug72101.php(8): {closure}(2, 'Parameter 1 to ...', '%s', 8, Array)
H A Dclosure_046.phpt2 …: Rebinding: preservation of previous scope when "static" given as scope arg (same as closure #041)
H A Dclosure_044.phpt5 /* A non-static closure has a bound instance if it has a scope
/PHP-7.1/tests/output/
H A Dob_start_callbacks.phpt9 echo 'closure in variable', "\n";
/PHP-7.1/ext/intl/uchar/
H A Duchar.c545 UChar *closure; in IC_METHOD() local
559 closure = safe_emalloc(sizeof(UChar), closure_len + 1, 0); in IC_METHOD()
561 closure_len = u_getFC_NFKC_Closure(cp, closure, closure_len, &error); in IC_METHOD()
563 efree(closure); in IC_METHOD()
568 u8str = intl_convert_utf16_to_utf8(closure, closure_len, &error); in IC_METHOD()
570 efree(closure); in IC_METHOD()
/PHP-7.1/ext/libxml/tests/
H A Dlibxml_set_external_entity_loader_error1.phpt39 Exception: Too few arguments to function {closure}(), 3 passed and exactly 4 expected
/PHP-7.1/Zend/tests/closures/
H A Dclosure_from_callable.inc9 $closure = function($param1) {
/PHP-7.1/ext/reflection/
H A Dphp_reflection.c609 zend_function *closure; in _class_string() local
616 mptr = closure; in _class_string()
618 closure = NULL; in _class_string()
623 _free_function(closure); in _class_string()
1670 zval *closure = NULL; in ZEND_METHOD() local
1682 Z_ADDREF_P(closure); in ZEND_METHOD()
1710 if (closure) { in ZEND_METHOD()
2326 zval closure; in ZEND_METHOD() local
4321 zend_function *closure; in _addmethod() local
4328 mptr = closure; in _addmethod()
[all …]
/PHP-7.1/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-7.1/
H A DUPGRADING97 longer be bound to a closure via the use construct.
H A DNEWS547 in closure in trait). (Nikita)
2854 . Fixed bug #71737 (Memory leak in closure with parameter named $this).
3663 . Fixed bug #69568 (call a private function in closure failed). (Nikita)
/PHP-7.1/Zend/
H A Dzend_vm_def.h8065 zval *closure, *var; variable
8068 closure = GET_OP1_ZVAL_PTR(BP_VAR_R);
8088 zend_closure_bind_var(closure, var_name, var);
H A Dzend_compile.c5295 static void zend_compile_closure_binding(znode *closure, zend_ast *uses_ast) /* {{{ */ in zend_compile_closure_binding() argument
5314 opline = zend_emit_op(NULL, ZEND_BIND_LEXICAL, closure, NULL); in zend_compile_closure_binding()
H A Dzend_vm_execute.h15168 zval *closure, *var; local
15171 closure = _get_zval_ptr_tmp(opline->op1.var, execute_data, &free_op1);
15191 zend_closure_bind_var(closure, var_name, var);

Completed in 205 milliseconds

12345