Home
last modified time | relevance | path

Searched refs:zend_ce_closure (Results 1 – 5 of 5) sorted by relevance

/PHP-7.0/Zend/
H A Dzend_closures.c49 ZEND_API zend_class_entry *zend_ce_closure; variable
194 …if (zend_parse_method_parameters(ZEND_NUM_ARGS(), getThis(), "Oo!|z", &zclosure, zend_ce_closure, … in ZEND_METHOD()
278 invoke->internal_function.scope = zend_ce_closure; in zend_get_closure_invoke_method()
524 zend_ce_closure = zend_register_internal_class(&ce); in zend_register_closure_ce()
525 zend_ce_closure->ce_flags |= ZEND_ACC_FINAL; in zend_register_closure_ce()
526 zend_ce_closure->create_object = zend_closure_new; in zend_register_closure_ce()
527 zend_ce_closure->serialize = zend_class_serialize_deny; in zend_register_closure_ce()
528 zend_ce_closure->unserialize = zend_class_unserialize_deny; in zend_register_closure_ce()
561 object_init_ex(res, zend_ce_closure); in zend_create_closure()
568 scope = zend_ce_closure; in zend_create_closure()
[all …]
H A Dzend_closures.h29 extern ZEND_API zend_class_entry *zend_ce_closure;
H A Dzend_builtin_functions.c1329 RETVAL_BOOL(func->common.scope == zend_ce_closure in ZEND_FUNCTION()
H A Dzend_operators.c604 if (Z_OBJCE_P(op) == zend_ce_closure) { in convert_to_array()
/PHP-7.0/ext/reflection/
H A Dphp_reflection.c606 if (ce == zend_ce_closure && obj && (len == sizeof(ZEND_INVOKE_FUNC_NAME)-1) in _class_string()
1640 …rameters_ex(ZEND_PARSE_PARAMS_QUIET, ZEND_NUM_ARGS(), "O", &closure, zend_ce_closure) == SUCCESS) { in ZEND_METHOD()
2412 if (ce == zend_ce_closure && Z_TYPE_P(classref) == IS_OBJECT in ZEND_METHOD()
2433 if (instanceof_function(ce, zend_ce_closure)) { in ZEND_METHOD()
3100 if (ce == zend_ce_closure && orig_obj && (name_len == sizeof(ZEND_INVOKE_FUNC_NAME)-1) in ZEND_METHOD()
3166 if (Z_OBJCE_P(obj) == zend_ce_closure && in ZEND_METHOD()
4074 if ((ce == zend_ce_closure && (name_len == sizeof(ZEND_INVOKE_FUNC_NAME)-1) in ZEND_METHOD()
4104 …if (ce == zend_ce_closure && !Z_ISUNDEF(intern->obj) && (name_len == sizeof(ZEND_INVOKE_FUNC_NAME)… in ZEND_METHOD()
4113 …} else if (ce == zend_ce_closure && Z_ISUNDEF(intern->obj) && (name_len == sizeof(ZEND_INVOKE_FUNC… in ZEND_METHOD()
4141 if (ce == zend_ce_closure && obj && (len == sizeof(ZEND_INVOKE_FUNC_NAME)-1) in _addmethod()
[all …]

Completed in 41 milliseconds