Home
last modified time | relevance | path

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

/PHP-8.2/Zend/
H A Dzend_closures.h34 extern ZEND_API zend_class_entry *zend_ce_closure;
H A Dzend_closures.c40 ZEND_API zend_class_entry *zend_ce_closure; variable
255 Z_PARAM_OBJECT_OF_CLASS(zclosure, zend_ce_closure) in ZEND_METHOD()
326 if (fcc.object && fcc.object->ce == zend_ce_closure in zend_create_closure_from_callable()
382 if (Z_TYPE_P(callable) == IS_OBJECT && instanceof_function(Z_OBJCE_P(callable), zend_ce_closure)) { in ZEND_METHOD()
467 invoke->internal_function.scope = zend_ce_closure; in zend_get_closure_invoke_method()
683 zend_ce_closure = register_class_Closure(); in zend_register_closure_ce()
684 zend_ce_closure->create_object = zend_closure_new; in zend_register_closure_ce()
713 object_init_ex(res, zend_ce_closure); in zend_create_closure_ex()
720 scope = zend_ce_closure; in zend_create_closure_ex()
784 ZEND_ASSERT(nested->std.ce == zend_ce_closure); in zend_create_closure_ex()
[all …]
H A Dzend_builtin_functions.c901 RETVAL_BOOL(func->common.scope == zend_ce_closure in ZEND_FUNCTION()
912 if (ce == zend_ce_closure in ZEND_FUNCTION()
H A Dzend_operators.c754 if (Z_OBJCE_P(op) == zend_ce_closure) { in convert_to_array()
H A Dzend_vm_def.h6236 if (OP1_TYPE == IS_CONST || Z_TYPE_P(expr) != IS_OBJECT || Z_OBJCE_P(expr) == zend_ce_closure) {
H A Dzend_vm_execute.h4874 if (IS_CONST == IS_CONST || Z_TYPE_P(expr) != IS_OBJECT || Z_OBJCE_P(expr) == zend_ce_closure) { in ZEND_CAST_SPEC_CONST_HANDLER()
19200 … 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()
21857 if (IS_VAR == IS_CONST || Z_TYPE_P(expr) != IS_OBJECT || Z_OBJCE_P(expr) == zend_ce_closure) { in ZEND_CAST_SPEC_VAR_HANDLER()
38950 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.2/ext/reflection/
H A Dphp_reflection.c188 return ce == zend_ce_closure in is_closure_invoke()
1586 Z_PARAM_OBJ_OF_CLASS_OR_STR(closure_obj, zend_ce_closure, fname) in ZEND_METHOD()
2494 if (instanceof_function(ce, zend_ce_closure)) { in ZEND_METHOD()
3298 if (ce == zend_ce_closure && orig_obj && (method_name_len == sizeof(ZEND_INVOKE_FUNC_NAME)-1) in ZEND_METHOD()
3362 if (Z_OBJCE_P(obj) == zend_ce_closure && in ZEND_METHOD()
4525 if (instanceof_function(ce, zend_ce_closure)) { in ZEND_METHOD()
/PHP-8.2/ext/opcache/jit/
H A Dzend_jit_x86.dasc9735 if (ssa->var_info[ssa_op->op2_use].ce != zend_ce_closure
9745 || if (!IS_SIGNED_32BIT(zend_ce_closure)) {
9746 | mov64 FCARG1a, ((ptrdiff_t)zend_ce_closure)
9749 | cmp aword [r0 + offsetof(zend_object, ce)], zend_ce_closure
9752 | cmp aword [r0 + offsetof(zend_object, ce)], zend_ce_closure
9757 ssa->var_info[ssa_op->op2_use].ce = zend_ce_closure;
H A Dzend_jit_trace.c2099 if (orig_op2_type == IS_OBJECT && op2_ce == zend_ce_closure) { in zend_jit_trace_build_tssa()
6179 if (orig_op2_type != IS_OBJECT || op2_ce != zend_ce_closure) { in zend_jit_trace()
H A Dzend_jit_arm64.dasc9044 if (ssa->var_info[ssa_op->op2_use].ce != zend_ce_closure
9053 | LOAD_ADDR FCARG1x, ((ptrdiff_t)zend_ce_closure)
9059 ssa->var_info[ssa_op->op2_use].ce = zend_ce_closure;
/PHP-8.2/Zend/Optimizer/
H A Dzend_inference.c3843 UPDATE_SSA_OBJ_TYPE(zend_ce_closure, /* is_instanceof */ false, ssa_op->result_def); in _zend_update_type_info()

Completed in 277 milliseconds