Home
last modified time | relevance | path

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

/PHP-8.0/Zend/
H A Dzend_closures.c45 ZEND_API zend_class_entry *zend_ce_closure; variable
241 Z_PARAM_OBJECT_OF_CLASS(zclosure, zend_ce_closure) in ZEND_METHOD()
312 if (fcc.object && fcc.object->ce == zend_ce_closure in zend_create_closure_from_callable()
417 invoke->internal_function.scope = zend_ce_closure; in zend_get_closure_invoke_method()
653 zend_ce_closure = zend_register_internal_class(&ce); in zend_register_closure_ce()
654 zend_ce_closure->ce_flags |= ZEND_ACC_FINAL; in zend_register_closure_ce()
655 zend_ce_closure->create_object = zend_closure_new; in zend_register_closure_ce()
656 zend_ce_closure->serialize = zend_class_serialize_deny; in zend_register_closure_ce()
689 object_init_ex(res, zend_ce_closure); in zend_create_closure()
696 scope = zend_ce_closure; in zend_create_closure()
[all …]
H A Dzend_closures.h33 extern ZEND_API zend_class_entry *zend_ce_closure;
H A Dzend_builtin_functions.c954 RETVAL_BOOL(func->common.scope == zend_ce_closure in ZEND_FUNCTION()
965 if (ce == zend_ce_closure in ZEND_FUNCTION()
H A Dzend_operators.c717 if (Z_OBJCE_P(op) == zend_ce_closure) { in convert_to_array()
H A Dzend_vm_def.h6155 if (OP1_TYPE == IS_CONST || Z_TYPE_P(expr) != IS_OBJECT || Z_OBJCE_P(expr) == zend_ce_closure) {
H A Dzend_vm_execute.h4658 if (IS_CONST == IS_CONST || Z_TYPE_P(expr) != IS_OBJECT || Z_OBJCE_P(expr) == zend_ce_closure) { in ZEND_CAST_SPEC_CONST_HANDLER()
18808 … if (IS_TMP_VAR == IS_CONST || Z_TYPE_P(expr) != IS_OBJECT || Z_OBJCE_P(expr) == zend_ce_closure) { in ZEND_CAST_SPEC_TMP_HANDLER()
21426 if (IS_VAR == IS_CONST || Z_TYPE_P(expr) != IS_OBJECT || Z_OBJCE_P(expr) == zend_ce_closure) { in ZEND_CAST_SPEC_VAR_HANDLER()
38296 if (IS_CV == IS_CONST || Z_TYPE_P(expr) != IS_OBJECT || Z_OBJCE_P(expr) == zend_ce_closure) { in ZEND_CAST_SPEC_CV_HANDLER()
/PHP-8.0/ext/reflection/
H A Dphp_reflection.c184 return ce == zend_ce_closure in is_closure_invoke()
1510 Z_PARAM_OBJ_OF_CLASS_OR_STR(closure_obj, zend_ce_closure, fname) in ZEND_METHOD()
2354 if (instanceof_function(ce, zend_ce_closure)) { in ZEND_METHOD()
3097 if (ce == zend_ce_closure && orig_obj && (method_name_len == sizeof(ZEND_INVOKE_FUNC_NAME)-1) in ZEND_METHOD()
3161 if (Z_OBJCE_P(obj) == zend_ce_closure && in ZEND_METHOD()
4252 if (instanceof_function(ce, zend_ce_closure)) { in ZEND_METHOD()
/PHP-8.0/ext/opcache/jit/
H A Dzend_jit_x86.dasc9934 if (ssa->var_info[ssa_op->op2_use].ce != zend_ce_closure
9944 || if (!IS_SIGNED_32BIT(zend_ce_closure)) {
9945 | mov64 FCARG1a, ((ptrdiff_t)zend_ce_closure)
9948 | cmp aword [r0 + offsetof(zend_object, ce)], zend_ce_closure
9951 | cmp aword [r0 + offsetof(zend_object, ce)], zend_ce_closure
9956 ssa->var_info[ssa_op->op2_use].ce = zend_ce_closure;
H A Dzend_jit_trace.c1933 if (orig_op2_type == IS_OBJECT && op2_ce == zend_ce_closure) { in zend_jit_trace_build_tssa()
5841 if (orig_op2_type != IS_OBJECT || op2_ce != zend_ce_closure) { in zend_jit_trace()

Completed in 320 milliseconds