Lines Matching refs:function_handler

768 					fcc->function_handler = 0;  in zend_parse_arg_impl()
3034 fcc->function_handler = func; in zend_is_callable_check_func()
3094 fcc->function_handler = fcc->calling_scope->constructor; in zend_is_callable_check_func()
3095 if (fcc->function_handler) { in zend_is_callable_check_func()
3099 fcc->function_handler = Z_PTR_P(zv); in zend_is_callable_check_func()
3101 if ((fcc->function_handler->op_array.fn_flags & ZEND_ACC_CHANGED) && in zend_is_callable_check_func()
3105 instanceof_function(fcc->function_handler->common.scope, scope)) { in zend_is_callable_check_func()
3113 fcc->function_handler = priv_fbc; in zend_is_callable_check_func()
3122 if (fcc->function_handler->op_array.fn_flags & ZEND_ACC_PRIVATE) { in zend_is_callable_check_func()
3124 if (!zend_check_private(fcc->function_handler, fcc->object ? fcc->object->ce : scope, lmname)) { in zend_is_callable_check_func()
3126 fcc->function_handler = NULL; in zend_is_callable_check_func()
3129 } else if (fcc->function_handler->common.fn_flags & ZEND_ACC_PROTECTED) { in zend_is_callable_check_func()
3131 if (!zend_check_protected(fcc->function_handler->common.scope, scope)) { in zend_is_callable_check_func()
3133 fcc->function_handler = NULL; in zend_is_callable_check_func()
3142 fcc->function_handler = zend_get_call_trampoline_func(ce_org, mname, 0); in zend_is_callable_check_func()
3146 fcc->function_handler = fcc->object->handlers->get_method(&fcc->object, mname, NULL); in zend_is_callable_check_func()
3147 if (fcc->function_handler) { in zend_is_callable_check_func()
3149 (!fcc->function_handler->common.scope || in zend_is_callable_check_func()
3150 !instanceof_function(ce_org, fcc->function_handler->common.scope))) { in zend_is_callable_check_func()
3151 if (fcc->function_handler->common.fn_flags & ZEND_ACC_CALL_VIA_TRAMPOLINE) { in zend_is_callable_check_func()
3152 if (fcc->function_handler->type != ZEND_OVERLOADED_FUNCTION && in zend_is_callable_check_func()
3153 fcc->function_handler->common.function_name) { in zend_is_callable_check_func()
3154 zend_string_release_ex(fcc->function_handler->common.function_name, 0); in zend_is_callable_check_func()
3156 zend_free_trampoline(fcc->function_handler); in zend_is_callable_check_func()
3160 … call_via_handler = (fcc->function_handler->common.fn_flags & ZEND_ACC_CALL_VIA_TRAMPOLINE) != 0; in zend_is_callable_check_func()
3166 fcc->function_handler = fcc->calling_scope->get_static_method(fcc->calling_scope, mname); in zend_is_callable_check_func()
3168 fcc->function_handler = zend_std_get_static_method(fcc->calling_scope, mname, NULL); in zend_is_callable_check_func()
3170 if (fcc->function_handler) { in zend_is_callable_check_func()
3172 call_via_handler = (fcc->function_handler->common.fn_flags & ZEND_ACC_CALL_VIA_TRAMPOLINE) != 0; in zend_is_callable_check_func()
3186 if (fcc->function_handler->common.fn_flags & ZEND_ACC_ABSTRACT) { in zend_is_callable_check_func()
3188 …method %s::%s()", ZSTR_VAL(fcc->calling_scope->name), ZSTR_VAL(fcc->function_handler->common.funct… in zend_is_callable_check_func()
3191 …method %s::%s()", ZSTR_VAL(fcc->calling_scope->name), ZSTR_VAL(fcc->function_handler->common.funct… in zend_is_callable_check_func()
3194 } else if (!fcc->object && !(fcc->function_handler->common.fn_flags & ZEND_ACC_STATIC)) { in zend_is_callable_check_func()
3197 if (fcc->function_handler->common.fn_flags & ZEND_ACC_ALLOW_STATIC) { in zend_is_callable_check_func()
3209 …lled statically", ZSTR_VAL(fcc->calling_scope->name), ZSTR_VAL(fcc->function_handler->common.funct… in zend_is_callable_check_func()
3215 …lled statically", ZSTR_VAL(fcc->calling_scope->name), ZSTR_VAL(fcc->function_handler->common.funct… in zend_is_callable_check_func()
3217 …lled statically", ZSTR_VAL(fcc->calling_scope->name), ZSTR_VAL(fcc->function_handler->common.funct… in zend_is_callable_check_func()
3222 if (fcc->function_handler->op_array.fn_flags & ZEND_ACC_PRIVATE) { in zend_is_callable_check_func()
3224 … if (!zend_check_private(fcc->function_handler, fcc->object ? fcc->object->ce : scope, lmname)) { in zend_is_callable_check_func()
3229 …method %s::%s()", ZSTR_VAL(fcc->calling_scope->name), ZSTR_VAL(fcc->function_handler->common.funct… in zend_is_callable_check_func()
3233 } else if ((fcc->function_handler->common.fn_flags & ZEND_ACC_PROTECTED)) { in zend_is_callable_check_func()
3235 if (!zend_check_protected(fcc->function_handler->common.scope, scope)) { in zend_is_callable_check_func()
3240 …method %s::%s()", ZSTR_VAL(fcc->calling_scope->name), ZSTR_VAL(fcc->function_handler->common.funct… in zend_is_callable_check_func()
3354 fcc->function_handler = NULL; in zend_is_callable_impl()
3373 fcc->function_handler && in zend_is_callable_impl()
3374 ((fcc->function_handler->common.fn_flags & ZEND_ACC_CALL_VIA_TRAMPOLINE) || in zend_is_callable_impl()
3375 fcc->function_handler->type == ZEND_OVERLOADED_FUNCTION_TEMPORARY || in zend_is_callable_impl()
3376 fcc->function_handler->type == ZEND_OVERLOADED_FUNCTION)) { in zend_is_callable_impl()
3377 if (fcc->function_handler->type != ZEND_OVERLOADED_FUNCTION && in zend_is_callable_impl()
3378 fcc->function_handler->common.function_name) { in zend_is_callable_impl()
3379 zend_string_release_ex(fcc->function_handler->common.function_name, 0); in zend_is_callable_impl()
3381 zend_free_trampoline(fcc->function_handler); in zend_is_callable_impl()
3447 …NDLER_P(callable, get_closure)(callable, &fcc->calling_scope, &fcc->function_handler, &fcc->object… in zend_is_callable_impl()
3487 add_next_index_str(callable, zend_string_copy(fcc.function_handler->common.function_name)); in zend_make_callable()
3489 if (fcc.function_handler && in zend_make_callable()
3490 ((fcc.function_handler->common.fn_flags & ZEND_ACC_CALL_VIA_TRAMPOLINE) || in zend_make_callable()
3491 fcc.function_handler->type == ZEND_OVERLOADED_FUNCTION_TEMPORARY || in zend_make_callable()
3492 fcc.function_handler->type == ZEND_OVERLOADED_FUNCTION)) { in zend_make_callable()
3493 if (fcc.function_handler->type != ZEND_OVERLOADED_FUNCTION) { in zend_make_callable()
3494 zend_string_release_ex(fcc.function_handler->common.function_name, 0); in zend_make_callable()
3496 zend_free_trampoline(fcc.function_handler); in zend_make_callable()