Lines Matching refs:scope

267 		return (ce == EG(scope) || property_info->ce == EG(scope));  in zend_verify_property_access()
269 return zend_check_protected(property_info->ce, EG(scope)); in zend_verify_property_access()
340 if (EG(scope) != ce in zend_get_property_offset()
341 && EG(scope) in zend_get_property_offset()
342 && is_derived_class(ce, EG(scope)) in zend_get_property_offset()
343 && (zv = zend_hash_find(&EG(scope)->properties_info, member)) != NULL in zend_get_property_offset()
417 if (EG(scope) != ce in zend_get_property_info()
418 && EG(scope) in zend_get_property_info()
419 && is_derived_class(ce, EG(scope)) in zend_get_property_info()
420 && (zv = zend_hash_find(&EG(scope)->properties_info, member)) != NULL in zend_get_property_info()
1026 if (fbc->common.scope == ce && EG(scope) == ce) { in zend_check_private_int()
1035 if (ce == EG(scope)) { in zend_check_private_int()
1039 && fbc->common.scope == EG(scope)) { in zend_check_private_int()
1059 ZEND_API int zend_check_protected(zend_class_entry *ce, zend_class_entry *scope) /* {{{ */ in zend_check_protected() argument
1067 if (fbc_scope==scope) { in zend_check_protected()
1076 while (scope) { in zend_check_protected()
1077 if (scope==ce) { in zend_check_protected()
1080 scope = scope->parent; in zend_check_protected()
1112 func->scope = fbc->common.scope; in zend_get_call_trampoline_func()
1181 ….fn_flags), ZEND_FN_SCOPE_NAME(fbc), ZSTR_VAL(method_name), EG(scope) ? ZSTR_VAL(EG(scope)->name) … in zend_std_get_method()
1189 if (EG(scope) && in zend_std_get_method()
1190 is_derived_class(fbc->common.scope, EG(scope)) && in zend_std_get_method()
1192 if ((func = zend_hash_find(&EG(scope)->function_table, lc_method_name)) != NULL) { in zend_std_get_method()
1195 && priv_fbc->common.scope == EG(scope)) { in zend_std_get_method()
1204 if (UNEXPECTED(!zend_check_protected(zend_get_function_root_class(fbc), EG(scope)))) { in zend_std_get_method()
1208 ….fn_flags), ZEND_FN_SCOPE_NAME(fbc), ZSTR_VAL(method_name), EG(scope) ? ZSTR_VAL(EG(scope)->name) … in zend_std_get_method()
1294 updated_fbc = zend_check_private_int(fbc, EG(scope), lc_function_name); in zend_std_get_static_method()
1301 …n_flags), ZEND_FN_SCOPE_NAME(fbc), ZSTR_VAL(function_name), EG(scope) ? ZSTR_VAL(EG(scope)->name) … in zend_std_get_static_method()
1308 if (UNEXPECTED(!zend_check_protected(zend_get_function_root_class(fbc), EG(scope)))) { in zend_std_get_static_method()
1312 …n_flags), ZEND_FN_SCOPE_NAME(fbc), ZSTR_VAL(function_name), EG(scope) ? ZSTR_VAL(EG(scope)->name) … in zend_std_get_static_method()
1383 if (UNEXPECTED(constructor->common.scope != EG(scope))) { in zend_std_get_constructor()
1384 if (EG(scope)) { in zend_std_get_constructor()
1385 …t '%s'", ZSTR_VAL(constructor->common.scope->name), ZSTR_VAL(constructor->common.function_name), Z… in zend_std_get_constructor()
1388 …l to private %s::%s() from invalid context", ZSTR_VAL(constructor->common.scope->name), ZSTR_VAL(c… in zend_std_get_constructor()
1397 if (UNEXPECTED(!zend_check_protected(zend_get_function_root_class(constructor), EG(scope)))) { in zend_std_get_constructor()
1398 if (EG(scope)) { in zend_std_get_constructor()
1399 …t '%s'", ZSTR_VAL(constructor->common.scope->name), ZSTR_VAL(constructor->common.function_name), Z… in zend_std_get_constructor()
1402 …to protected %s::%s() from invalid context", ZSTR_VAL(constructor->common.scope->name), ZSTR_VAL(c… in zend_std_get_constructor()