Lines Matching refs:scope

457 			EG(scope) = EX(current_scope);  in zend_leave_helper_SPEC()
489 …zend_error_noreturn(E_ERROR, "Cannot call abstract method %s::%s()", fbc->common.scope->name, fbc-… in zend_do_fcall_common_helper_SPEC()
495 fbc->common.scope ? fbc->common.scope->name : "", in zend_do_fcall_common_helper_SPEC()
496 fbc->common.scope ? "::" : "", in zend_do_fcall_common_helper_SPEC()
500 if (fbc->common.scope && in zend_do_fcall_common_helper_SPEC()
506 …"Non-static method %s::%s() should not be called statically", fbc->common.scope->name, fbc->common… in zend_do_fcall_common_helper_SPEC()
510 …OR, "Non-static method %s::%s() cannot be called statically", fbc->common.scope->name, fbc->common… in zend_do_fcall_common_helper_SPEC()
514 if (fbc->type == ZEND_USER_FUNCTION || fbc->common.scope) { in zend_do_fcall_common_helper_SPEC()
517 EX(current_scope) = EG(scope); in zend_do_fcall_common_helper_SPEC()
520 EG(scope) = (fbc->type == ZEND_USER_FUNCTION || !EX(object)) ? fbc->common.scope : NULL; in zend_do_fcall_common_helper_SPEC()
636 EG(scope) = EX(current_scope); in zend_do_fcall_common_helper_SPEC()
713 if (EG(active_op_array)->scope) { in ZEND_RECV_SPEC_HANDLER()
714 class_name = EG(active_op_array)->scope->name; in ZEND_RECV_SPEC_HANDLER()
835 …zend_error_noreturn(E_ERROR, "Cannot call abstract method %s::%s()", EG(scope)->name, EX(op_array)… in ZEND_RAISE_ABSTRACT_ERROR_SPEC_HANDLER()
2557 if (UNEXPECTED(ce != EG(scope))) { in ZEND_CLONE_SPEC_CONST_HANDLER()
2558 …OR, "Call to private %s::__clone() from context '%s'", ce->name, EG(scope) ? EG(scope)->name : ""); in ZEND_CLONE_SPEC_CONST_HANDLER()
2563 if (UNEXPECTED(!zend_check_protected(zend_get_function_root_class(clone), EG(scope)))) { in ZEND_CLONE_SPEC_CONST_HANDLER()
2564 …, "Call to protected %s::__clone() from context '%s'", ce->name, EG(scope) ? EG(scope)->name : ""); in ZEND_CLONE_SPEC_CONST_HANDLER()
3622 …if (EG(This) && Z_OBJCE_P(EG(This)) != ce->constructor->common.scope && (ce->constructor->common.f… in ZEND_INIT_STATIC_METHOD_CALL_SPEC_CONST_CONST_HANDLER()
3637 … statically, assuming $this from incompatible context", call->fbc->common.scope->name, call->fbc->… in ZEND_INIT_STATIC_METHOD_CALL_SPEC_CONST_CONST_HANDLER()
3640 … statically, assuming $this from incompatible context", call->fbc->common.scope->name, call->fbc->… in ZEND_INIT_STATIC_METHOD_CALL_SPEC_CONST_CONST_HANDLER()
3744 zend_class_entry *old_scope = EG(scope); in ZEND_FETCH_CONSTANT_SPEC_CONST_CONST_HANDLER()
3746 EG(scope) = ce; in ZEND_FETCH_CONSTANT_SPEC_CONST_CONST_HANDLER()
3748 EG(scope) = old_scope; in ZEND_FETCH_CONSTANT_SPEC_CONST_CONST_HANDLER()
4614 …if (EG(This) && Z_OBJCE_P(EG(This)) != ce->constructor->common.scope && (ce->constructor->common.f… in ZEND_INIT_STATIC_METHOD_CALL_SPEC_CONST_TMP_HANDLER()
4629 … statically, assuming $this from incompatible context", call->fbc->common.scope->name, call->fbc->… in ZEND_INIT_STATIC_METHOD_CALL_SPEC_CONST_TMP_HANDLER()
4632 … statically, assuming $this from incompatible context", call->fbc->common.scope->name, call->fbc->… in ZEND_INIT_STATIC_METHOD_CALL_SPEC_CONST_TMP_HANDLER()
5471 …if (EG(This) && Z_OBJCE_P(EG(This)) != ce->constructor->common.scope && (ce->constructor->common.f… in ZEND_INIT_STATIC_METHOD_CALL_SPEC_CONST_VAR_HANDLER()
5486 … statically, assuming $this from incompatible context", call->fbc->common.scope->name, call->fbc->… in ZEND_INIT_STATIC_METHOD_CALL_SPEC_CONST_VAR_HANDLER()
5489 … statically, assuming $this from incompatible context", call->fbc->common.scope->name, call->fbc->… in ZEND_INIT_STATIC_METHOD_CALL_SPEC_CONST_VAR_HANDLER()
6197 …if (EG(This) && Z_OBJCE_P(EG(This)) != ce->constructor->common.scope && (ce->constructor->common.f… in ZEND_INIT_STATIC_METHOD_CALL_SPEC_CONST_UNUSED_HANDLER()
6212 … statically, assuming $this from incompatible context", call->fbc->common.scope->name, call->fbc->… in ZEND_INIT_STATIC_METHOD_CALL_SPEC_CONST_UNUSED_HANDLER()
6215 … statically, assuming $this from incompatible context", call->fbc->common.scope->name, call->fbc->… in ZEND_INIT_STATIC_METHOD_CALL_SPEC_CONST_UNUSED_HANDLER()
6510 …zend_create_closure(&EX_T(opline->result.var).tmp_var, (zend_function *) op_array, EG(scope), EG(… in ZEND_DECLARE_LAMBDA_FUNCTION_SPEC_CONST_UNUSED_HANDLER()
7059 …if (EG(This) && Z_OBJCE_P(EG(This)) != ce->constructor->common.scope && (ce->constructor->common.f… in ZEND_INIT_STATIC_METHOD_CALL_SPEC_CONST_CV_HANDLER()
7074 … statically, assuming $this from incompatible context", call->fbc->common.scope->name, call->fbc->… in ZEND_INIT_STATIC_METHOD_CALL_SPEC_CONST_CV_HANDLER()
7077 … statically, assuming $this from incompatible context", call->fbc->common.scope->name, call->fbc->… in ZEND_INIT_STATIC_METHOD_CALL_SPEC_CONST_CV_HANDLER()
7868 if (UNEXPECTED(ce != EG(scope))) { in ZEND_CLONE_SPEC_TMP_HANDLER()
7869 …OR, "Call to private %s::__clone() from context '%s'", ce->name, EG(scope) ? EG(scope)->name : ""); in ZEND_CLONE_SPEC_TMP_HANDLER()
7874 if (UNEXPECTED(!zend_check_protected(zend_get_function_root_class(clone), EG(scope)))) { in ZEND_CLONE_SPEC_TMP_HANDLER()
7875 …, "Call to protected %s::__clone() from context '%s'", ce->name, EG(scope) ? EG(scope)->name : ""); in ZEND_CLONE_SPEC_TMP_HANDLER()
13185 if (UNEXPECTED(ce != EG(scope))) { in ZEND_CLONE_SPEC_VAR_HANDLER()
13186 …OR, "Call to private %s::__clone() from context '%s'", ce->name, EG(scope) ? EG(scope)->name : ""); in ZEND_CLONE_SPEC_VAR_HANDLER()
13191 if (UNEXPECTED(!zend_check_protected(zend_get_function_root_class(clone), EG(scope)))) { in ZEND_CLONE_SPEC_VAR_HANDLER()
13192 …, "Call to protected %s::__clone() from context '%s'", ce->name, EG(scope) ? EG(scope)->name : ""); in ZEND_CLONE_SPEC_VAR_HANDLER()
15490 …if (EG(This) && Z_OBJCE_P(EG(This)) != ce->constructor->common.scope && (ce->constructor->common.f… in ZEND_INIT_STATIC_METHOD_CALL_SPEC_VAR_CONST_HANDLER()
15505 … statically, assuming $this from incompatible context", call->fbc->common.scope->name, call->fbc->… in ZEND_INIT_STATIC_METHOD_CALL_SPEC_VAR_CONST_HANDLER()
15508 … statically, assuming $this from incompatible context", call->fbc->common.scope->name, call->fbc->… in ZEND_INIT_STATIC_METHOD_CALL_SPEC_VAR_CONST_HANDLER()
15612 zend_class_entry *old_scope = EG(scope); in ZEND_FETCH_CONSTANT_SPEC_VAR_CONST_HANDLER()
15614 EG(scope) = ce; in ZEND_FETCH_CONSTANT_SPEC_VAR_CONST_HANDLER()
15616 EG(scope) = old_scope; in ZEND_FETCH_CONSTANT_SPEC_VAR_CONST_HANDLER()
17848 …if (EG(This) && Z_OBJCE_P(EG(This)) != ce->constructor->common.scope && (ce->constructor->common.f… in ZEND_INIT_STATIC_METHOD_CALL_SPEC_VAR_TMP_HANDLER()
17863 … statically, assuming $this from incompatible context", call->fbc->common.scope->name, call->fbc->… in ZEND_INIT_STATIC_METHOD_CALL_SPEC_VAR_TMP_HANDLER()
17866 … statically, assuming $this from incompatible context", call->fbc->common.scope->name, call->fbc->… in ZEND_INIT_STATIC_METHOD_CALL_SPEC_VAR_TMP_HANDLER()
20166 …if (EG(This) && Z_OBJCE_P(EG(This)) != ce->constructor->common.scope && (ce->constructor->common.f… in ZEND_INIT_STATIC_METHOD_CALL_SPEC_VAR_VAR_HANDLER()
20181 … statically, assuming $this from incompatible context", call->fbc->common.scope->name, call->fbc->… in ZEND_INIT_STATIC_METHOD_CALL_SPEC_VAR_VAR_HANDLER()
20184 … statically, assuming $this from incompatible context", call->fbc->common.scope->name, call->fbc->… in ZEND_INIT_STATIC_METHOD_CALL_SPEC_VAR_VAR_HANDLER()
21615 …if (EG(This) && Z_OBJCE_P(EG(This)) != ce->constructor->common.scope && (ce->constructor->common.f… in ZEND_INIT_STATIC_METHOD_CALL_SPEC_VAR_UNUSED_HANDLER()
21630 … statically, assuming $this from incompatible context", call->fbc->common.scope->name, call->fbc->… in ZEND_INIT_STATIC_METHOD_CALL_SPEC_VAR_UNUSED_HANDLER()
21633 … statically, assuming $this from incompatible context", call->fbc->common.scope->name, call->fbc->… in ZEND_INIT_STATIC_METHOD_CALL_SPEC_VAR_UNUSED_HANDLER()
23637 …if (EG(This) && Z_OBJCE_P(EG(This)) != ce->constructor->common.scope && (ce->constructor->common.f… in ZEND_INIT_STATIC_METHOD_CALL_SPEC_VAR_CV_HANDLER()
23652 … statically, assuming $this from incompatible context", call->fbc->common.scope->name, call->fbc->… in ZEND_INIT_STATIC_METHOD_CALL_SPEC_VAR_CV_HANDLER()
23655 … statically, assuming $this from incompatible context", call->fbc->common.scope->name, call->fbc->… in ZEND_INIT_STATIC_METHOD_CALL_SPEC_VAR_CV_HANDLER()
24274 if (UNEXPECTED(ce != EG(scope))) { in ZEND_CLONE_SPEC_UNUSED_HANDLER()
24275 …OR, "Call to private %s::__clone() from context '%s'", ce->name, EG(scope) ? EG(scope)->name : ""); in ZEND_CLONE_SPEC_UNUSED_HANDLER()
24280 if (UNEXPECTED(!zend_check_protected(zend_get_function_root_class(clone), EG(scope)))) { in ZEND_CLONE_SPEC_UNUSED_HANDLER()
24281 …, "Call to protected %s::__clone() from context '%s'", ce->name, EG(scope) ? EG(scope)->name : ""); in ZEND_CLONE_SPEC_UNUSED_HANDLER()
25264 zend_class_entry *old_scope = EG(scope); in ZEND_FETCH_CONSTANT_SPEC_UNUSED_CONST_HANDLER()
25266 EG(scope) = ce; in ZEND_FETCH_CONSTANT_SPEC_UNUSED_CONST_HANDLER()
25268 EG(scope) = old_scope; in ZEND_FETCH_CONSTANT_SPEC_UNUSED_CONST_HANDLER()
30855 if (UNEXPECTED(ce != EG(scope))) { in ZEND_CLONE_SPEC_CV_HANDLER()
30856 …OR, "Call to private %s::__clone() from context '%s'", ce->name, EG(scope) ? EG(scope)->name : ""); in ZEND_CLONE_SPEC_CV_HANDLER()
30861 if (UNEXPECTED(!zend_check_protected(zend_get_function_root_class(clone), EG(scope)))) { in ZEND_CLONE_SPEC_CV_HANDLER()
30862 …, "Call to protected %s::__clone() from context '%s'", ce->name, EG(scope) ? EG(scope)->name : ""); in ZEND_CLONE_SPEC_CV_HANDLER()