Lines Matching refs:calling_scope
2928 fcc->calling_scope = scope; in zend_is_callable_check_class()
2941 fcc->calling_scope = scope->parent; in zend_is_callable_check_class()
2955 fcc->calling_scope = called_scope; in zend_is_callable_check_class()
2970 fcc->calling_scope = ce; in zend_is_callable_check_class()
2997 zend_class_entry *ce_org = fcc->calling_scope; in zend_is_callable_check_func()
3009 fcc->calling_scope = NULL; in zend_is_callable_check_func()
3070 ftable = &fcc->calling_scope->function_table; in zend_is_callable_check_func()
3071 if (ce_org && !instanceof_function(ce_org, fcc->calling_scope)) { in zend_is_callable_check_func()
3072 …class '%s' is not a subclass of '%s'", ZSTR_VAL(ce_org->name), ZSTR_VAL(fcc->calling_scope->name)); in zend_is_callable_check_func()
3081 fcc->calling_scope = ce_org; in zend_is_callable_check_func()
3092 fcc->calling_scope && in zend_is_callable_check_func()
3094 fcc->function_handler = fcc->calling_scope->constructor; in zend_is_callable_check_func()
3119 (fcc->calling_scope && in zend_is_callable_check_func()
3120 ((fcc->object && fcc->calling_scope->__call) || in zend_is_callable_check_func()
3121 (!fcc->object && fcc->calling_scope->__callstatic)))) { in zend_is_callable_check_func()
3140 if (fcc->object && fcc->calling_scope == ce_org) { in zend_is_callable_check_func()
3164 } else if (fcc->calling_scope) { in zend_is_callable_check_func()
3165 if (fcc->calling_scope->get_static_method) { 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()
3176 instanceof_function(object->ce, fcc->calling_scope)) { in zend_is_callable_check_func()
3185 if (fcc->calling_scope && !call_via_handler) { in zend_is_callable_check_func()
3188 …zend_spprintf(error, 0, "cannot call abstract method %s::%s()", ZSTR_VAL(fcc->calling_scope->name)… in zend_is_callable_check_func()
3191 …zend_throw_error(NULL, "Cannot call abstract method %s::%s()", ZSTR_VAL(fcc->calling_scope->name),… in zend_is_callable_check_func()
3209 …, "non-static method %s::%s() %s be called statically", ZSTR_VAL(fcc->calling_scope->name), ZSTR_V… in zend_is_callable_check_func()
3215 …, "Non-static method %s::%s() %s be called statically", ZSTR_VAL(fcc->calling_scope->name), ZSTR_V… in zend_is_callable_check_func()
3217 …, "Non-static method %s::%s() %s be called statically", ZSTR_VAL(fcc->calling_scope->name), ZSTR_V… in zend_is_callable_check_func()
3229 …zend_spprintf(error, 0, "cannot access private method %s::%s()", ZSTR_VAL(fcc->calling_scope->name… in zend_is_callable_check_func()
3240 …tf(error, 0, "cannot access protected method %s::%s()", ZSTR_VAL(fcc->calling_scope->name), ZSTR_V… in zend_is_callable_check_func()
3248 if (fcc->calling_scope) { in zend_is_callable_check_func()
3249 …ntf(error, 0, "class '%s' does not have a method '%s'", ZSTR_VAL(fcc->calling_scope->name), ZSTR_V… in zend_is_callable_check_func()
3310 zend_class_entry *calling_scope; in zend_get_callable_name_ex() local
3314 … && Z_OBJ_HANDLER_P(callable, get_closure)(callable, &calling_scope, &fptr, &object) == SUCCESS) { in zend_get_callable_name_ex()
3352 fcc->calling_scope = NULL; in zend_is_callable_impl()
3362 fcc->calling_scope = object->ce; in zend_is_callable_impl()
3366 fcc->called_scope = fcc->calling_scope; in zend_is_callable_impl()
3417 fcc->calling_scope = Z_OBJCE_P(obj); /* TBFixed: what if it's overloaded? */ in zend_is_callable_impl()
3422 fcc->called_scope = fcc->calling_scope; in zend_is_callable_impl()
3447 …et_closure) && Z_OBJ_HANDLER_P(callable, get_closure)(callable, &fcc->calling_scope, &fcc->functio… in zend_is_callable_impl()
3448 fcc->called_scope = fcc->calling_scope; in zend_is_callable_impl()
3483 if (Z_TYPE_P(callable) == IS_STRING && fcc.calling_scope) { in zend_make_callable()
3486 add_next_index_str(callable, zend_string_copy(fcc.calling_scope->name)); in zend_make_callable()