scope 204 Zend/zend_API.c const char *class_name = active_function->common.scope ? ZSTR_VAL(active_function->common.scope->name) : ""; scope 797 Zend/zend_API.c const char *class_name = active_function->common.scope scope 798 Zend/zend_API.c ? ZSTR_VAL(active_function->common.scope->name) : ""; scope 877 Zend/zend_API.c const char *class_name = active_function->common.scope ? ZSTR_VAL(active_function->common.scope->name) : ""; scope 995 Zend/zend_API.c zend_bool is_method = EG(current_execute_data)->func->common.scope != NULL; scope 1072 Zend/zend_API.c zend_class_entry *old_scope = EG(scope); scope 1076 Zend/zend_API.c EG(scope) = Z_OBJCE_P(obj); scope 1085 Zend/zend_API.c EG(scope) = old_scope; scope 1128 Zend/zend_API.c zend_class_entry **scope = EG(current_execute_data) ? &EG(scope) : &CG(active_class_entry); scope 1129 Zend/zend_API.c zend_class_entry *old_scope = *scope; scope 1134 Zend/zend_API.c *scope = class_type; scope 1155 Zend/zend_API.c *scope = ce; scope 1165 Zend/zend_API.c *scope = old_scope; scope 1229 Zend/zend_API.c zend_class_entry *prev_scope = EG(scope); scope 1232 Zend/zend_API.c EG(scope) = zend_lookup_class(cname); scope 1237 Zend/zend_API.c EG(scope) = prev_scope; scope 2121 Zend/zend_API.c ZEND_API int zend_register_functions(zend_class_entry *scope, const zend_function_entry *functions, HashTable *function_table, int type) /* {{{ */ scope 2148 Zend/zend_API.c if (scope) { scope 2149 Zend/zend_API.c class_name_len = ZSTR_LEN(scope->name); scope 2150 Zend/zend_API.c if ((lc_class_name = zend_memrchr(ZSTR_VAL(scope->name), '\\', class_name_len))) { scope 2152 Zend/zend_API.c class_name_len -= (lc_class_name - ZSTR_VAL(scope->name)); scope 2155 Zend/zend_API.c lc_class_name = zend_str_tolower_dup(ZSTR_VAL(scope->name), class_name_len); scope 2163 Zend/zend_API.c internal_function->scope = scope; scope 2167 Zend/zend_API.c if (ptr->flags != ZEND_ACC_DEPRECATED || scope) { scope 2168 Zend/zend_API.c zend_error(error_type, "Invalid access level for %s%s%s() - access must be exactly one of public, protected or private", scope ? ZSTR_VAL(scope->name) : "", scope ? "::" : "", ptr->fname); scope 2199 Zend/zend_API.c if (!scope && (!strcasecmp(info->class_name, "self") || !strcasecmp(info->class_name, "parent"))) { scope 2213 Zend/zend_API.c if (scope) { scope 2215 Zend/zend_API.c scope->ce_flags |= ZEND_ACC_IMPLICIT_ABSTRACT_CLASS; scope 2216 Zend/zend_API.c if (!(scope->ce_flags & ZEND_ACC_INTERFACE)) { scope 2220 Zend/zend_API.c scope->ce_flags |= ZEND_ACC_EXPLICIT_ABSTRACT_CLASS; scope 2223 Zend/zend_API.c if (ptr->flags & ZEND_ACC_STATIC && (!scope || !(scope->ce_flags & ZEND_ACC_INTERFACE))) { scope 2224 Zend/zend_API.c zend_error(error_type, "Static function %s%s%s() cannot be abstract", scope ? ZSTR_VAL(scope->name) : "", scope ? "::" : "", ptr->fname); scope 2227 Zend/zend_API.c if (scope && (scope->ce_flags & ZEND_ACC_INTERFACE)) { scope 2229 Zend/zend_API.c zend_error(error_type, "Interface %s cannot contain non abstract method %s()", ZSTR_VAL(scope->name), ptr->fname); scope 2233 Zend/zend_API.c if (scope) { scope 2236 Zend/zend_API.c zend_error(error_type, "Method %s%s%s() cannot be a NULL function", scope ? ZSTR_VAL(scope->name) : "", scope ? "::" : "", ptr->fname); scope 2265 Zend/zend_API.c if (scope) { scope 2277 Zend/zend_API.c zend_error(error_type, "Destructor %s::%s() cannot take arguments", ZSTR_VAL(scope->name), ptr->fname); scope 2289 Zend/zend_API.c scope->ce_flags |= ZEND_ACC_USE_GUARDS; scope 2292 Zend/zend_API.c scope->ce_flags |= ZEND_ACC_USE_GUARDS; scope 2295 Zend/zend_API.c scope->ce_flags |= ZEND_ACC_USE_GUARDS; scope 2298 Zend/zend_API.c scope->ce_flags |= ZEND_ACC_USE_GUARDS; scope 2305 Zend/zend_API.c zend_check_magic_method_implementation(scope, reg_function, error_type); scope 2313 Zend/zend_API.c if (scope) { scope 2321 Zend/zend_API.c zend_error(error_type, "Function registration failed - duplicate name - %s%s%s", scope ? ZSTR_VAL(scope->name) : "", scope ? "::" : "", ptr->fname); scope 2329 Zend/zend_API.c if (scope) { scope 2330 Zend/zend_API.c scope->constructor = ctor; scope 2331 Zend/zend_API.c scope->destructor = dtor; scope 2332 Zend/zend_API.c scope->clone = clone; scope 2333 Zend/zend_API.c scope->__call = __call; scope 2334 Zend/zend_API.c scope->__callstatic = __callstatic; scope 2335 Zend/zend_API.c scope->__tostring = __tostring; scope 2336 Zend/zend_API.c scope->__get = __get; scope 2337 Zend/zend_API.c scope->__set = __set; scope 2338 Zend/zend_API.c scope->__unset = __unset; scope 2339 Zend/zend_API.c scope->__isset = __isset; scope 2340 Zend/zend_API.c scope->__debugInfo = __debugInfo; scope 2344 Zend/zend_API.c zend_error(error_type, "Constructor %s::%s() cannot be static", ZSTR_VAL(scope->name), ZSTR_VAL(ctor->common.function_name)); scope 2351 Zend/zend_API.c zend_error(error_type, "Destructor %s::%s() cannot be static", ZSTR_VAL(scope->name), ZSTR_VAL(dtor->common.function_name)); scope 2358 Zend/zend_API.c zend_error(error_type, "Constructor %s::%s() cannot be static", ZSTR_VAL(scope->name), ZSTR_VAL(clone->common.function_name)); scope 2364 Zend/zend_API.c zend_error(error_type, "Method %s::%s() cannot be static", ZSTR_VAL(scope->name), ZSTR_VAL(__call->common.function_name)); scope 2370 Zend/zend_API.c zend_error(error_type, "Method %s::%s() must be static", ZSTR_VAL(scope->name), ZSTR_VAL(__callstatic->common.function_name)); scope 2376 Zend/zend_API.c zend_error(error_type, "Method %s::%s() cannot be static", ZSTR_VAL(scope->name), ZSTR_VAL(__tostring->common.function_name)); scope 2382 Zend/zend_API.c zend_error(error_type, "Method %s::%s() cannot be static", ZSTR_VAL(scope->name), ZSTR_VAL(__get->common.function_name)); scope 2388 Zend/zend_API.c zend_error(error_type, "Method %s::%s() cannot be static", ZSTR_VAL(scope->name), ZSTR_VAL(__set->common.function_name)); scope 2394 Zend/zend_API.c zend_error(error_type, "Method %s::%s() cannot be static", ZSTR_VAL(scope->name), ZSTR_VAL(__unset->common.function_name)); scope 2400 Zend/zend_API.c zend_error(error_type, "Method %s::%s() cannot be static", ZSTR_VAL(scope->name), ZSTR_VAL(__isset->common.function_name)); scope 2406 Zend/zend_API.c zend_error(error_type, "Method %s::%s() cannot be static", ZSTR_VAL(scope->name), ZSTR_VAL(__debugInfo->common.function_name)); scope 2411 Zend/zend_API.c zend_error_noreturn(E_CORE_ERROR, "Constructor %s::%s() cannot declare a return type", ZSTR_VAL(scope->name), ZSTR_VAL(ctor->common.function_name)); scope 2415 Zend/zend_API.c zend_error_noreturn(E_CORE_ERROR, "Destructor %s::%s() cannot declare a return type", ZSTR_VAL(scope->name), ZSTR_VAL(dtor->common.function_name)); scope 2419 Zend/zend_API.c zend_error_noreturn(E_CORE_ERROR, "%s::%s() cannot declare a return type", ZSTR_VAL(scope->name), ZSTR_VAL(clone->common.function_name)); scope 2840 Zend/zend_API.c if (!EG(scope)) { scope 2844 Zend/zend_API.c fcc->calling_scope = EG(scope); scope 2851 Zend/zend_API.c if (!EG(scope)) { scope 2853 Zend/zend_API.c } else if (!EG(scope)->parent) { scope 2857 Zend/zend_API.c fcc->calling_scope = EG(scope)->parent; scope 2879 Zend/zend_API.c zend_class_entry *scope; scope 2885 Zend/zend_API.c scope = ex ? ex->func->common.scope : NULL; scope 2887 Zend/zend_API.c if (scope && !fcc->object) { scope 2891 Zend/zend_API.c instanceof_function(object->ce, scope) && scope 2892 Zend/zend_API.c instanceof_function(scope, fcc->calling_scope)) { scope 2982 Zend/zend_API.c last_scope = EG(scope); scope 2984 Zend/zend_API.c EG(scope) = ce_org; scope 2990 Zend/zend_API.c EG(scope) = last_scope; scope 2994 Zend/zend_API.c EG(scope) = last_scope; scope 3028 Zend/zend_API.c !strict_class && EG(scope) && scope 3029 Zend/zend_API.c instanceof_function(fcc->function_handler->common.scope, EG(scope))) { scope 3032 Zend/zend_API.c if ((priv_fbc = zend_hash_find_ptr(&EG(scope)->function_table, lmname)) != NULL scope 3034 Zend/zend_API.c && priv_fbc->common.scope == EG(scope)) { scope 3043 Zend/zend_API.c if (!zend_check_private(fcc->function_handler, fcc->object ? fcc->object->ce : EG(scope), lmname)) { scope 3049 Zend/zend_API.c if (!zend_check_protected(fcc->function_handler->common.scope, EG(scope))) { scope 3067 Zend/zend_API.c (!fcc->function_handler->common.scope || scope 3068 Zend/zend_API.c !instanceof_function(ce_org, fcc->function_handler->common.scope))) { scope 3140 Zend/zend_API.c if (!zend_check_private(fcc->function_handler, fcc->object ? fcc->object->ce : EG(scope), lmname)) { scope 3150 Zend/zend_API.c if (!zend_check_protected(fcc->function_handler->common.scope, EG(scope))) { scope 3807 Zend/zend_API.c ZEND_API void zend_update_property_ex(zend_class_entry *scope, zval *object, zend_string *name, zval *value) /* {{{ */ scope 3810 Zend/zend_API.c zend_class_entry *old_scope = EG(scope); scope 3812 Zend/zend_API.c EG(scope) = scope; scope 3820 Zend/zend_API.c EG(scope) = old_scope; scope 3824 Zend/zend_API.c ZEND_API void zend_update_property(zend_class_entry *scope, zval *object, const char *name, size_t name_length, zval *value) /* {{{ */ scope 3827 Zend/zend_API.c zend_class_entry *old_scope = EG(scope); scope 3829 Zend/zend_API.c EG(scope) = scope; scope 3838 Zend/zend_API.c EG(scope) = old_scope; scope 3842 Zend/zend_API.c ZEND_API void zend_update_property_null(zend_class_entry *scope, zval *object, const char *name, size_t name_length) /* {{{ */ scope 3847 Zend/zend_API.c zend_update_property(scope, object, name, name_length, &tmp); scope 3851 Zend/zend_API.c ZEND_API void zend_update_property_bool(zend_class_entry *scope, zval *object, const char *name, size_t name_length, zend_long value) /* {{{ */ scope 3856 Zend/zend_API.c zend_update_property(scope, object, name, name_length, &tmp); scope 3860 Zend/zend_API.c ZEND_API void zend_update_property_long(zend_class_entry *scope, zval *object, const char *name, size_t name_length, zend_long value) /* {{{ */ scope 3865 Zend/zend_API.c zend_update_property(scope, object, name, name_length, &tmp); scope 3869 Zend/zend_API.c ZEND_API void zend_update_property_double(zend_class_entry *scope, zval *object, const char *name, size_t name_length, double value) /* {{{ */ scope 3874 Zend/zend_API.c zend_update_property(scope, object, name, name_length, &tmp); scope 3878 Zend/zend_API.c ZEND_API void zend_update_property_str(zend_class_entry *scope, zval *object, const char *name, size_t name_length, zend_string *value) /* {{{ */ scope 3883 Zend/zend_API.c zend_update_property(scope, object, name, name_length, &tmp); scope 3887 Zend/zend_API.c ZEND_API void zend_update_property_string(zend_class_entry *scope, zval *object, const char *name, size_t name_length, const char *value) /* {{{ */ scope 3893 Zend/zend_API.c zend_update_property(scope, object, name, name_length, &tmp); scope 3897 Zend/zend_API.c ZEND_API void zend_update_property_stringl(zend_class_entry *scope, zval *object, const char *name, size_t name_length, const char *value, size_t value_len) /* {{{ */ scope 3903 Zend/zend_API.c zend_update_property(scope, object, name, name_length, &tmp); scope 3907 Zend/zend_API.c ZEND_API int zend_update_static_property(zend_class_entry *scope, const char *name, size_t name_length, zval *value) /* {{{ */ scope 3910 Zend/zend_API.c zend_class_entry *old_scope = EG(scope); scope 3913 Zend/zend_API.c EG(scope) = scope; scope 3914 Zend/zend_API.c property = zend_std_get_static_property(scope, key, 0); scope 3915 Zend/zend_API.c EG(scope) = old_scope; scope 3946 Zend/zend_API.c ZEND_API int zend_update_static_property_null(zend_class_entry *scope, const char *name, size_t name_length) /* {{{ */ scope 3951 Zend/zend_API.c return zend_update_static_property(scope, name, name_length, &tmp); scope 3955 Zend/zend_API.c ZEND_API int zend_update_static_property_bool(zend_class_entry *scope, const char *name, size_t name_length, zend_long value) /* {{{ */ scope 3960 Zend/zend_API.c return zend_update_static_property(scope, name, name_length, &tmp); scope 3964 Zend/zend_API.c ZEND_API int zend_update_static_property_long(zend_class_entry *scope, const char *name, size_t name_length, zend_long value) /* {{{ */ scope 3969 Zend/zend_API.c return zend_update_static_property(scope, name, name_length, &tmp); scope 3973 Zend/zend_API.c ZEND_API int zend_update_static_property_double(zend_class_entry *scope, const char *name, size_t name_length, double value) /* {{{ */ scope 3978 Zend/zend_API.c return zend_update_static_property(scope, name, name_length, &tmp); scope 3982 Zend/zend_API.c ZEND_API int zend_update_static_property_string(zend_class_entry *scope, const char *name, size_t name_length, const char *value) /* {{{ */ scope 3988 Zend/zend_API.c return zend_update_static_property(scope, name, name_length, &tmp); scope 3992 Zend/zend_API.c ZEND_API int zend_update_static_property_stringl(zend_class_entry *scope, const char *name, size_t name_length, const char *value, size_t value_len) /* {{{ */ scope 3998 Zend/zend_API.c return zend_update_static_property(scope, name, name_length, &tmp); scope 4002 Zend/zend_API.c ZEND_API zval *zend_read_property(zend_class_entry *scope, zval *object, const char *name, size_t name_length, zend_bool silent, zval *rv) /* {{{ */ scope 4005 Zend/zend_API.c zend_class_entry *old_scope = EG(scope); scope 4007 Zend/zend_API.c EG(scope) = scope; scope 4017 Zend/zend_API.c EG(scope) = old_scope; scope 4022 Zend/zend_API.c ZEND_API zval *zend_read_static_property(zend_class_entry *scope, const char *name, size_t name_length, zend_bool silent) /* {{{ */ scope 4025 Zend/zend_API.c zend_class_entry *old_scope = EG(scope); scope 4028 Zend/zend_API.c EG(scope) = scope; scope 4029 Zend/zend_API.c property = zend_std_get_static_property(scope, key, silent); scope 4030 Zend/zend_API.c EG(scope) = old_scope; scope 4127 Zend/zend_API.c !f->common.scope || scope 4128 Zend/zend_API.c !f->common.scope->trait_aliases) { scope 4142 Zend/zend_API.c return zend_find_alias_name(f->common.scope, name); scope 278 Zend/zend_API.h ZEND_API int zend_register_functions(zend_class_entry *scope, const zend_function_entry *functions, HashTable *function_table, int type); scope 337 Zend/zend_API.h ZEND_API void zend_update_property_ex(zend_class_entry *scope, zval *object, zend_string *name, zval *value); scope 338 Zend/zend_API.h ZEND_API void zend_update_property(zend_class_entry *scope, zval *object, const char *name, size_t name_length, zval *value); scope 339 Zend/zend_API.h ZEND_API void zend_update_property_null(zend_class_entry *scope, zval *object, const char *name, size_t name_length); scope 340 Zend/zend_API.h ZEND_API void zend_update_property_bool(zend_class_entry *scope, zval *object, const char *name, size_t name_length, zend_long value); scope 341 Zend/zend_API.h ZEND_API void zend_update_property_long(zend_class_entry *scope, zval *object, const char *name, size_t name_length, zend_long value); scope 342 Zend/zend_API.h ZEND_API void zend_update_property_double(zend_class_entry *scope, zval *object, const char *name, size_t name_length, double value); scope 343 Zend/zend_API.h ZEND_API void zend_update_property_str(zend_class_entry *scope, zval *object, const char *name, size_t name_length, zend_string *value); scope 344 Zend/zend_API.h ZEND_API void zend_update_property_string(zend_class_entry *scope, zval *object, const char *name, size_t name_length, const char *value); scope 345 Zend/zend_API.h ZEND_API void zend_update_property_stringl(zend_class_entry *scope, zval *object, const char *name, size_t name_length, const char *value, size_t value_length); scope 347 Zend/zend_API.h ZEND_API int zend_update_static_property(zend_class_entry *scope, const char *name, size_t name_length, zval *value); scope 348 Zend/zend_API.h ZEND_API int zend_update_static_property_null(zend_class_entry *scope, const char *name, size_t name_length); scope 349 Zend/zend_API.h ZEND_API int zend_update_static_property_bool(zend_class_entry *scope, const char *name, size_t name_length, zend_long value); scope 350 Zend/zend_API.h ZEND_API int zend_update_static_property_long(zend_class_entry *scope, const char *name, size_t name_length, zend_long value); scope 351 Zend/zend_API.h ZEND_API int zend_update_static_property_double(zend_class_entry *scope, const char *name, size_t name_length, double value); scope 352 Zend/zend_API.h ZEND_API int zend_update_static_property_string(zend_class_entry *scope, const char *name, size_t name_length, const char *value); scope 353 Zend/zend_API.h ZEND_API int zend_update_static_property_stringl(zend_class_entry *scope, const char *name, size_t name_length, const char *value, size_t value_length); scope 355 Zend/zend_API.h ZEND_API zval *zend_read_property(zend_class_entry *scope, zval *object, const char *name, size_t name_length, zend_bool silent, zval *rv); scope 357 Zend/zend_API.h ZEND_API zval *zend_read_static_property(zend_class_entry *scope, const char *name, size_t name_length, zend_bool silent); scope 362 Zend/zend_API.h #define ZEND_IS_METHOD_CALL() (EX(func)->common.scope != NULL) scope 212 Zend/zend_ast.c ZEND_API int zend_ast_evaluate(zval *result, zend_ast *ast, zend_class_entry *scope) scope 219 Zend/zend_ast.c if (UNEXPECTED(zend_ast_evaluate(&op1, ast->child[0], scope) != SUCCESS)) { scope 221 Zend/zend_ast.c } else if (UNEXPECTED(zend_ast_evaluate(&op2, ast->child[1], scope) != SUCCESS)) { scope 233 Zend/zend_ast.c if (UNEXPECTED(zend_ast_evaluate(&op1, ast->child[0], scope) != SUCCESS)) { scope 235 Zend/zend_ast.c } else if (UNEXPECTED(zend_ast_evaluate(&op2, ast->child[1], scope) != SUCCESS)) { scope 248 Zend/zend_ast.c if (UNEXPECTED(zend_ast_evaluate(&op1, ast->child[0], scope) != SUCCESS)) { scope 259 Zend/zend_ast.c if (scope) { scope 262 Zend/zend_ast.c if (UNEXPECTED(zval_update_constant_ex(zv, 1, scope) != SUCCESS)) { scope 271 Zend/zend_ast.c if (UNEXPECTED(zval_update_constant_ex(result, 1, scope) != SUCCESS)) { scope 280 Zend/zend_ast.c if (UNEXPECTED(zend_ast_evaluate(&op1, ast->child[0], scope) != SUCCESS)) { scope 285 Zend/zend_ast.c if (UNEXPECTED(zend_ast_evaluate(&op2, ast->child[1], scope) != SUCCESS)) { scope 298 Zend/zend_ast.c if (UNEXPECTED(zend_ast_evaluate(&op1, ast->child[0], scope) != SUCCESS)) { scope 305 Zend/zend_ast.c if (UNEXPECTED(zend_ast_evaluate(&op2, ast->child[1], scope) != SUCCESS)) { scope 316 Zend/zend_ast.c if (UNEXPECTED(zend_ast_evaluate(&op1, ast->child[0], scope) != SUCCESS)) { scope 324 Zend/zend_ast.c if (UNEXPECTED(zend_ast_evaluate(result, ast->child[1], scope) != SUCCESS)) { scope 332 Zend/zend_ast.c if (UNEXPECTED(zend_ast_evaluate(result, ast->child[2], scope) != SUCCESS)) { scope 341 Zend/zend_ast.c if (UNEXPECTED(zend_ast_evaluate(&op2, ast->child[0], scope) != SUCCESS)) { scope 350 Zend/zend_ast.c if (UNEXPECTED(zend_ast_evaluate(&op2, ast->child[0], scope) != SUCCESS)) { scope 366 Zend/zend_ast.c if (UNEXPECTED(zend_ast_evaluate(&op1, elem->child[1], scope) != SUCCESS)) { scope 373 Zend/zend_ast.c if (UNEXPECTED(zend_ast_evaluate(&op2, elem->child[0], scope) != SUCCESS)) { scope 388 Zend/zend_ast.c if (UNEXPECTED(zend_ast_evaluate(&op1, ast->child[0], scope) != SUCCESS)) { scope 390 Zend/zend_ast.c } else if (UNEXPECTED(zend_ast_evaluate(&op2, ast->child[1], scope) != SUCCESS)) { scope 206 Zend/zend_ast.h ZEND_API int zend_ast_evaluate(zval *result, zend_ast *ast, zend_class_entry *scope); scope 938 Zend/zend_builtin_functions.c if (EG(scope)) { scope 939 Zend/zend_builtin_functions.c RETURN_STR_COPY(EG(scope)->name); scope 963 Zend/zend_builtin_functions.c } else if (!EG(scope)) { scope 982 Zend/zend_builtin_functions.c ce = EG(scope); scope 1087 Zend/zend_builtin_functions.c prop_info->ce != EG(scope)) || scope 1089 Zend/zend_builtin_functions.c !zend_check_protected(prop_info->ce, EG(scope))) || scope 1091 Zend/zend_builtin_functions.c ce != EG(scope) && scope 1092 Zend/zend_builtin_functions.c prop_info->ce != EG(scope))) { scope 1269 Zend/zend_builtin_functions.c || (EG(scope) && scope 1271 Zend/zend_builtin_functions.c zend_check_protected(mptr->common.scope, EG(scope))) scope 1273 Zend/zend_builtin_functions.c EG(scope) == mptr->common.scope)))) { scope 1281 Zend/zend_builtin_functions.c mptr->common.scope == ce || scope 1287 Zend/zend_builtin_functions.c ZVAL_STR_COPY(&method_name, zend_find_alias_name(mptr->common.scope, key)); scope 1341 Zend/zend_builtin_functions.c RETVAL_BOOL(func->common.scope == zend_ce_closure scope 2375 Zend/zend_builtin_functions.c function_name = (func->common.scope && scope 2376 Zend/zend_builtin_functions.c func->common.scope->trait_aliases) ? scope 2378 Zend/zend_builtin_functions.c (object ? object->ce : func->common.scope), func)) : scope 2388 Zend/zend_builtin_functions.c if (func->common.scope) { scope 2389 Zend/zend_builtin_functions.c class_name = func->common.scope->name; scope 2395 Zend/zend_builtin_functions.c } else if (func->common.scope) { scope 2396 Zend/zend_builtin_functions.c class_name = func->common.scope->name; scope 2594 Zend/zend_builtin_functions.c function_name = (func->common.scope && scope 2595 Zend/zend_builtin_functions.c func->common.scope->trait_aliases) ? scope 2597 Zend/zend_builtin_functions.c (object ? object->ce : func->common.scope), func) : scope 2608 Zend/zend_builtin_functions.c if (func->common.scope) { scope 2609 Zend/zend_builtin_functions.c add_assoc_str_ex(&stack_frame, "class", sizeof("class")-1, zend_string_copy(func->common.scope->name)); scope 2622 Zend/zend_builtin_functions.c } else if (func->common.scope) { scope 2623 Zend/zend_builtin_functions.c add_assoc_str_ex(&stack_frame, "class", sizeof("class")-1, zend_string_copy(func->common.scope->name)); scope 77 Zend/zend_closures.c zend_closure *closure, zval *newthis, zend_class_entry *scope) /* {{{ */ scope 86 Zend/zend_closures.c if (func->type == ZEND_INTERNAL_FUNCTION && func->common.scope && scope 87 Zend/zend_closures.c !instanceof_function(Z_OBJCE_P(newthis), func->common.scope)) { scope 90 Zend/zend_closures.c ZSTR_VAL(func->common.scope->name), scope 95 Zend/zend_closures.c } else if (!(func->common.fn_flags & ZEND_ACC_STATIC) && func->common.scope scope 101 Zend/zend_closures.c if (scope && scope != func->common.scope && scope->type == ZEND_INTERNAL_CLASS) { scope 104 Zend/zend_closures.c ZSTR_VAL(scope->name)); scope 108 Zend/zend_closures.c if ((func->common.fn_flags & ZEND_ACC_FAKE_CLOSURE) && scope != func->common.scope) { scope 163 Zend/zend_closures.c my_function.common.scope = Z_OBJCE_P(newthis); scope 167 Zend/zend_closures.c if (ZEND_USER_CODE(my_function.type) && closure->func.common.scope != Z_OBJCE_P(newthis)) { scope 180 Zend/zend_closures.c } else if (ZEND_USER_CODE(my_function.type) && closure->func.common.scope != Z_OBJCE_P(newthis)) { scope 208 Zend/zend_closures.c ce = closure->func.common.scope; scope 217 Zend/zend_closures.c ce = closure->func.common.scope; scope 234 Zend/zend_closures.c if (ZEND_USER_CODE(closure->func.type) && (closure->func.common.scope != new_closure->func.common.scope || (closure->func.op_array.fn_flags & ZEND_ACC_NO_RT_ARENA))) { scope 278 Zend/zend_closures.c invoke->internal_function.scope = zend_ce_closure; scope 387 Zend/zend_closures.c closure->func.common.scope, closure->called_scope, &closure->this_ptr); scope 554 Zend/zend_closures.c ZEND_API void zend_create_closure(zval *res, zend_function *func, zend_class_entry *scope, zend_class_entry *called_scope, zval *this_ptr) /* {{{ */ scope 562 Zend/zend_closures.c if ((scope == NULL) && this_ptr && (Z_TYPE_P(this_ptr) != IS_UNDEF)) { scope 565 Zend/zend_closures.c scope = zend_ce_closure; scope 600 Zend/zend_closures.c if (!func->common.scope) { scope 603 Zend/zend_closures.c scope = NULL; scope 610 Zend/zend_closures.c closure->func.common.scope = scope; scope 612 Zend/zend_closures.c if (scope) { scope 621 Zend/zend_closures.c ZEND_API void zend_create_fake_closure(zval *res, zend_function *func, zend_class_entry *scope, zend_class_entry *called_scope, zval *this_ptr) /* {{{ */ scope 625 Zend/zend_closures.c zend_create_closure(res, func, scope, called_scope, this_ptr); scope 31 Zend/zend_closures.h ZEND_API void zend_create_closure(zval *res, zend_function *op_array, zend_class_entry *scope, zend_class_entry *called_scope, zval *this_ptr); scope 32 Zend/zend_closures.h ZEND_API void zend_create_fake_closure(zval *res, zend_function *op_array, zend_class_entry *scope, zend_class_entry *called_scope, zval *this_ptr); scope 2213 Zend/zend_compile.c && CG(active_op_array)->scope && CG(active_op_array)->this_var == (uint32_t)-1 scope 2789 Zend/zend_compile.c !fbc->common.scope && scope 3446 Zend/zend_compile.c if (CG(active_op_array)->scope) { scope 3447 Zend/zend_compile.c CG(active_op_array)->scope->ce_flags |= ZEND_HAS_STATIC_IN_METHODS; scope 4474 Zend/zend_compile.c if (op_array->scope && (op_array->fn_flags & ZEND_ACC_STATIC) == 0) { scope 4663 Zend/zend_compile.c op_array->scope = ce; scope 5744 Zend/zend_compile.c if ((op_array && !op_array->scope && op_array->function_name) || (op_array->fn_flags & ZEND_ACC_CLOSURE)) { scope 339 Zend/zend_compile.h zend_class_entry *scope; scope 390 Zend/zend_compile.h zend_class_entry *scope; scope 402 Zend/zend_compile.h #define ZEND_FN_SCOPE_NAME(function) ((function) && (function)->common.scope ? ZSTR_VAL((function)->common.scope->name) : "") scope 412 Zend/zend_compile.h zend_class_entry *scope; scope 297 Zend/zend_constants.c ZEND_API zval *zend_get_constant_ex(zend_string *cname, zend_class_entry *scope, zend_ulong flags) scope 325 Zend/zend_constants.c if (!scope) { scope 327 Zend/zend_constants.c scope = EG(scope); scope 329 Zend/zend_constants.c scope = CG(active_class_entry); scope 335 Zend/zend_constants.c if (UNEXPECTED(!scope)) { scope 339 Zend/zend_constants.c ce = scope; scope 342 Zend/zend_constants.c if (UNEXPECTED(!scope)) { scope 345 Zend/zend_constants.c } else if (UNEXPECTED(!scope->parent)) { scope 349 Zend/zend_constants.c ce = scope->parent; scope 70 Zend/zend_constants.h ZEND_API zval *zend_get_constant_ex(zend_string *name, zend_class_entry *scope, zend_ulong flags); scope 60 Zend/zend_dtrace.c const char *scope, *filename, *funcname, *classname; scope 61 Zend/zend_dtrace.c scope = filename = funcname = classname = NULL; scope 71 Zend/zend_dtrace.c classname = get_active_class_name(&scope); scope 80 Zend/zend_dtrace.c DTRACE_FUNCTION_ENTRY((char *)funcname, (char *)filename, lineno, (char *)classname, (char *)scope); scope 86 Zend/zend_dtrace.c DTRACE_FUNCTION_RETURN((char *)funcname, (char *)filename, lineno, (char *)classname, (char *)scope); scope 637 Zend/zend_execute.c if (zf->common.scope) { scope 639 Zend/zend_execute.c fclass = ZSTR_VAL(zf->common.scope->name); scope 900 Zend/zend_execute.c const char *class_name = EX(func)->common.scope ? ZSTR_VAL(EX(func)->common.scope->name) : ""; scope 901 Zend/zend_execute.c const char *space = EX(func)->common.scope ? "::" : ""; scope 919 Zend/zend_execute.c if (zf->common.scope) { scope 921 Zend/zend_execute.c fclass = ZSTR_VAL(zf->common.scope->name); scope 937 Zend/zend_execute.c if (zf->common.scope) { scope 939 Zend/zend_execute.c fclass = ZSTR_VAL(zf->common.scope->name); scope 136 Zend/zend_execute.h ZEND_API int zval_update_constant_ex(zval *pp, zend_bool inline_change, zend_class_entry *scope); scope 179 Zend/zend_execute_API.c EG(scope) = NULL; scope 432 Zend/zend_execute_API.c zend_class_entry *ce = func->common.scope; scope 553 Zend/zend_execute_API.c ZEND_API int zval_update_constant_ex(zval *p, zend_bool inline_change, zend_class_entry *scope) /* {{{ */ scope 570 Zend/zend_execute_API.c if (EG(scope) && EG(scope)->name) { scope 571 Zend/zend_execute_API.c ZVAL_STR_COPY(p, EG(scope)->name); scope 575 Zend/zend_execute_API.c } else if (UNEXPECTED((const_value = zend_get_constant_ex(Z_STR_P(p), scope, Z_CONST_FLAGS_P(p))) == NULL)) { scope 647 Zend/zend_execute_API.c if (UNEXPECTED(zend_ast_evaluate(&tmp, Z_ASTVAL_P(p), scope) != SUCCESS)) { scope 716 Zend/zend_execute_API.c orig_scope = EG(scope); scope 788 Zend/zend_execute_API.c zend_throw_error(NULL, "Cannot call abstract method %s::%s()", ZSTR_VAL(func->common.scope->name), ZSTR_VAL(func->common.function_name)); scope 793 Zend/zend_execute_API.c func->common.scope ? ZSTR_VAL(func->common.scope->name) : "", scope 794 Zend/zend_execute_API.c func->common.scope ? "::" : "", scope 816 Zend/zend_execute_API.c func->common.scope ? ZSTR_VAL(func->common.scope->name) : "", scope 817 Zend/zend_execute_API.c func->common.scope ? "::" : "", scope 842 Zend/zend_execute_API.c EG(scope) = calling_scope; scope 859 Zend/zend_execute_API.c EG(scope) = func->common.scope; scope 874 Zend/zend_execute_API.c if (func->common.scope) { scope 875 Zend/zend_execute_API.c EG(scope) = func->common.scope; scope 930 Zend/zend_execute_API.c EG(scope) = orig_scope; scope 1075 Zend/zend_execute_API.c if (ex->func->type != ZEND_INTERNAL_FUNCTION || ex->func->common.scope) { scope 1091 Zend/zend_execute_API.c if (ex->func->type != ZEND_INTERNAL_FUNCTION || ex->func->common.scope) { scope 1337 Zend/zend_execute_API.c if (UNEXPECTED(!EG(scope))) { scope 1340 Zend/zend_execute_API.c return EG(scope); scope 1342 Zend/zend_execute_API.c if (UNEXPECTED(!EG(scope))) { scope 1346 Zend/zend_execute_API.c if (UNEXPECTED(!EG(scope)->parent)) { scope 1349 Zend/zend_execute_API.c return EG(scope)->parent; scope 665 Zend/zend_generators.c zend_class_entry *original_scope = EG(scope); scope 671 Zend/zend_generators.c EG(scope) = generator->execute_data->func->common.scope; scope 701 Zend/zend_generators.c EG(scope) = original_scope; scope 164 Zend/zend_globals.h zend_class_entry *scope; scope 188 Zend/zend_inheritance.c if (!strcasecmp(class_name, "parent") && proto->common.scope) { scope 189 Zend/zend_inheritance.c fe_class_name = zend_string_copy(proto->common.scope->name); scope 190 Zend/zend_inheritance.c } else if (!strcasecmp(class_name, "self") && fe->common.scope) { scope 191 Zend/zend_inheritance.c fe_class_name = zend_string_copy(fe->common.scope->name); scope 205 Zend/zend_inheritance.c if (!strcasecmp(class_name, "parent") && proto->common.scope && proto->common.scope->parent) { scope 206 Zend/zend_inheritance.c proto_class_name = zend_string_copy(proto->common.scope->parent->name); scope 207 Zend/zend_inheritance.c } else if (!strcasecmp(class_name, "self") && proto->common.scope) { scope 208 Zend/zend_inheritance.c proto_class_name = zend_string_copy(proto->common.scope->name); scope 266 Zend/zend_inheritance.c && ((proto->common.scope->ce_flags & ZEND_ACC_INTERFACE) == 0 scope 358 Zend/zend_inheritance.c if (!strcasecmp(class_name, "self") && fptr->common.scope) { scope 359 Zend/zend_inheritance.c class_name = ZSTR_VAL(fptr->common.scope->name); scope 360 Zend/zend_inheritance.c class_name_len = ZSTR_LEN(fptr->common.scope->name); scope 361 Zend/zend_inheritance.c } else if (!strcasecmp(class_name, "parent") && fptr->common.scope && fptr->common.scope->parent) { scope 362 Zend/zend_inheritance.c class_name = ZSTR_VAL(fptr->common.scope->parent->name); scope 363 Zend/zend_inheritance.c class_name_len = ZSTR_LEN(fptr->common.scope->parent->name); scope 394 Zend/zend_inheritance.c if (fptr->common.scope) { scope 396 Zend/zend_inheritance.c smart_str_appendl(&str, ZSTR_VAL(fptr->common.scope->name), strlen(ZSTR_VAL(fptr->common.scope->name))); scope 512 Zend/zend_inheritance.c if ((parent->common.scope->ce_flags & ZEND_ACC_INTERFACE) == 0 scope 514 Zend/zend_inheritance.c && parent->common.scope != (child->common.prototype ? child->common.prototype->common.scope : child->common.scope) scope 517 Zend/zend_inheritance.c ZSTR_VAL(parent->common.scope->name), scope 519 Zend/zend_inheritance.c child->common.prototype ? ZSTR_VAL(child->common.prototype->common.scope->name) : ZSTR_VAL(child->common.scope->name)); scope 560 Zend/zend_inheritance.c } else if (!(parent->common.fn_flags & ZEND_ACC_CTOR) || (parent->common.prototype && (parent->common.prototype->common.scope->ce_flags & ZEND_ACC_INTERFACE))) { scope 594 Zend/zend_inheritance.c func->common.scope != ce && scope 1030 Zend/zend_inheritance.c uint32_t fn_flags = fn->common.scope->ce_flags; scope 1031 Zend/zend_inheritance.c uint32_t other_flags = other_fn->common.scope->ce_flags; scope 1034 Zend/zend_inheritance.c && ((other_fn->common.scope->ce_flags & ZEND_ACC_INTERFACE) || zend_do_perform_implementation_check(other_fn, fn)) scope 1092 Zend/zend_inheritance.c if (existing_fn->common.scope == ce) { scope 1121 Zend/zend_inheritance.c (existing_fn->common.scope->ce_flags & ZEND_ACC_INTERFACE) == 0) { scope 1136 Zend/zend_inheritance.c } else if (UNEXPECTED(existing_fn->common.scope->ce_flags & ZEND_ACC_TRAIT)) { scope 1143 Zend/zend_inheritance.c ZSTR_VAL(fn->common.scope->name), ZSTR_VAL(fn->common.function_name), scope 1145 Zend/zend_inheritance.c ZSTR_VAL(existing_fn->common.scope->name), ZSTR_VAL(existing_fn->common.function_name)); scope 1165 Zend/zend_inheritance.c if ((fn->common.scope->ce_flags & ZEND_ACC_TRAIT) == ZEND_ACC_TRAIT) { scope 1167 Zend/zend_inheritance.c fn->common.scope = ce; scope 1192 Zend/zend_inheritance.c && (!alias->trait_method->ce || fn->common.scope == alias->trait_method->ce) scope 1208 Zend/zend_inheritance.c alias->trait_method->ce = fn->common.scope; scope 1228 Zend/zend_inheritance.c && (!alias->trait_method->ce || fn->common.scope == alias->trait_method->ce) scope 1236 Zend/zend_inheritance.c alias->trait_method->ce = fn->common.scope; scope 277 Zend/zend_object_handlers.c return (ce == EG(scope) || property_info->ce == EG(scope)); scope 279 Zend/zend_object_handlers.c return zend_check_protected(property_info->ce, EG(scope)); scope 350 Zend/zend_object_handlers.c if (EG(scope) != ce scope 351 Zend/zend_object_handlers.c && EG(scope) scope 352 Zend/zend_object_handlers.c && is_derived_class(ce, EG(scope)) scope 353 Zend/zend_object_handlers.c && (zv = zend_hash_find(&EG(scope)->properties_info, member)) != NULL scope 427 Zend/zend_object_handlers.c if (EG(scope) != ce scope 428 Zend/zend_object_handlers.c && EG(scope) scope 429 Zend/zend_object_handlers.c && is_derived_class(ce, EG(scope)) scope 430 Zend/zend_object_handlers.c && (zv = zend_hash_find(&EG(scope)->properties_info, member)) != NULL scope 971 Zend/zend_object_handlers.c if (fbc->common.scope == ce && EG(scope) == ce) { scope 980 Zend/zend_object_handlers.c if (ce == EG(scope)) { scope 984 Zend/zend_object_handlers.c && fbc->common.scope == EG(scope)) { scope 1004 Zend/zend_object_handlers.c ZEND_API int zend_check_protected(zend_class_entry *ce, zend_class_entry *scope) /* {{{ */ scope 1012 Zend/zend_object_handlers.c if (fbc_scope==scope) { scope 1021 Zend/zend_object_handlers.c while (scope) { scope 1022 Zend/zend_object_handlers.c if (scope==ce) { scope 1025 Zend/zend_object_handlers.c scope = scope->parent; scope 1056 Zend/zend_object_handlers.c func->scope = fbc->common.scope; scope 1125 Zend/zend_object_handlers.c zend_throw_error(NULL, "Call to %s method %s::%s() from context '%s'", zend_visibility_string(fbc->common.fn_flags), ZEND_FN_SCOPE_NAME(fbc), ZSTR_VAL(method_name), EG(scope) ? ZSTR_VAL(EG(scope)->name) : ""); scope 1133 Zend/zend_object_handlers.c if (EG(scope) && scope 1134 Zend/zend_object_handlers.c is_derived_class(fbc->common.scope, EG(scope)) && scope 1136 Zend/zend_object_handlers.c if ((func = zend_hash_find(&EG(scope)->function_table, lc_method_name)) != NULL) { scope 1139 Zend/zend_object_handlers.c && priv_fbc->common.scope == EG(scope)) { scope 1148 Zend/zend_object_handlers.c if (UNEXPECTED(!zend_check_protected(zend_get_function_root_class(fbc), EG(scope)))) { scope 1152 Zend/zend_object_handlers.c zend_throw_error(NULL, "Call to %s method %s::%s() from context '%s'", zend_visibility_string(fbc->common.fn_flags), ZEND_FN_SCOPE_NAME(fbc), ZSTR_VAL(method_name), EG(scope) ? ZSTR_VAL(EG(scope)->name) : ""); scope 1238 Zend/zend_object_handlers.c updated_fbc = zend_check_private_int(fbc, EG(scope), lc_function_name); scope 1245 Zend/zend_object_handlers.c zend_throw_error(NULL, "Call to %s method %s::%s() from context '%s'", zend_visibility_string(fbc->common.fn_flags), ZEND_FN_SCOPE_NAME(fbc), ZSTR_VAL(function_name), EG(scope) ? ZSTR_VAL(EG(scope)->name) : ""); scope 1252 Zend/zend_object_handlers.c if (UNEXPECTED(!zend_check_protected(zend_get_function_root_class(fbc), EG(scope)))) { scope 1256 Zend/zend_object_handlers.c zend_throw_error(NULL, "Call to %s method %s::%s() from context '%s'", zend_visibility_string(fbc->common.fn_flags), ZEND_FN_SCOPE_NAME(fbc), ZSTR_VAL(function_name), EG(scope) ? ZSTR_VAL(EG(scope)->name) : ""); scope 1327 Zend/zend_object_handlers.c if (UNEXPECTED(constructor->common.scope != EG(scope))) { scope 1328 Zend/zend_object_handlers.c if (EG(scope)) { scope 1329 Zend/zend_object_handlers.c zend_throw_error(NULL, "Call to private %s::%s() from context '%s'", ZSTR_VAL(constructor->common.scope->name), ZSTR_VAL(constructor->common.function_name), ZSTR_VAL(EG(scope)->name)); scope 1332 Zend/zend_object_handlers.c zend_throw_error(NULL, "Call to private %s::%s() from invalid context", ZSTR_VAL(constructor->common.scope->name), ZSTR_VAL(constructor->common.function_name)); scope 1341 Zend/zend_object_handlers.c if (UNEXPECTED(!zend_check_protected(zend_get_function_root_class(constructor), EG(scope)))) { scope 1342 Zend/zend_object_handlers.c if (EG(scope)) { scope 1343 Zend/zend_object_handlers.c zend_throw_error(NULL, "Call to protected %s::%s() from context '%s'", ZSTR_VAL(constructor->common.scope->name), ZSTR_VAL(constructor->common.function_name), ZSTR_VAL(EG(scope)->name)); scope 1346 Zend/zend_object_handlers.c zend_throw_error(NULL, "Call to protected %s::%s() from invalid context", ZSTR_VAL(constructor->common.scope->name), ZSTR_VAL(constructor->common.function_name)); scope 161 Zend/zend_object_handlers.h ((fbc)->common.prototype ? (fbc)->common.prototype->common.scope : (fbc)->common.scope) scope 177 Zend/zend_object_handlers.h ZEND_API int zend_check_protected(zend_class_entry *ce, zend_class_entry *scope); scope 94 Zend/zend_objects.c if (object->ce != EG(scope)) { scope 101 Zend/zend_objects.c EG(scope) ? ZSTR_VAL(EG(scope)->name) : ""); scope 106 Zend/zend_objects.c EG(scope) ? ZSTR_VAL(EG(scope)->name) : ""); scope 113 Zend/zend_objects.c if (!zend_check_protected(zend_get_function_root_class(destructor), EG(scope))) { scope 120 Zend/zend_objects.c EG(scope) ? ZSTR_VAL(EG(scope)->name) : ""); scope 125 Zend/zend_objects.c EG(scope) ? ZSTR_VAL(EG(scope)->name) : ""); scope 78 Zend/zend_opcode.c op_array->scope = NULL; scope 2379 Zend/zend_vm_def.h EG(scope) = EX(func)->op_array.scope; scope 3104 Zend/zend_vm_def.h if (Z_OBJ(EX(This)) && Z_OBJ(EX(This))->ce != ce->constructor->common.scope && (ce->constructor->common.fn_flags & ZEND_ACC_PRIVATE)) { scope 3122 Zend/zend_vm_def.h ZSTR_VAL(fbc->common.scope->name), ZSTR_VAL(fbc->common.function_name)); scope 3132 Zend/zend_vm_def.h ZSTR_VAL(fbc->common.scope->name), ZSTR_VAL(fbc->common.function_name)); scope 3241 Zend/zend_vm_def.h ZSTR_VAL(fbc->common.scope->name), ZSTR_VAL(fbc->common.function_name)); scope 3249 Zend/zend_vm_def.h ZSTR_VAL(fbc->common.scope->name), ZSTR_VAL(fbc->common.function_name)); scope 3338 Zend/zend_vm_def.h ZSTR_VAL(fbc->common.scope->name), ZSTR_VAL(fbc->common.function_name)); scope 3346 Zend/zend_vm_def.h ZSTR_VAL(fbc->common.scope->name), ZSTR_VAL(fbc->common.function_name)); scope 3431 Zend/zend_vm_def.h ZSTR_VAL(func->common.scope->name), ZSTR_VAL(func->common.function_name)); scope 3572 Zend/zend_vm_def.h EG(scope) = NULL; scope 3598 Zend/zend_vm_def.h EG(scope) = NULL; scope 3623 Zend/zend_vm_def.h EG(scope) = EX(func)->op_array.scope; scope 3629 Zend/zend_vm_def.h fbc->common.scope ? ZSTR_VAL(fbc->common.scope->name) : "", scope 3630 Zend/zend_vm_def.h fbc->common.scope ? "::" : "", scope 3702 Zend/zend_vm_def.h zend_throw_error(NULL, "Cannot call abstract method %s::%s()", ZSTR_VAL(fbc->common.scope->name), ZSTR_VAL(fbc->common.function_name)); scope 3707 Zend/zend_vm_def.h fbc->common.scope ? ZSTR_VAL(fbc->common.scope->name) : "", scope 3708 Zend/zend_vm_def.h fbc->common.scope ? "::" : "", scope 3719 Zend/zend_vm_def.h EG(scope) = fbc->common.scope; scope 3753 Zend/zend_vm_def.h if (fbc->common.scope) { scope 3755 Zend/zend_vm_def.h EG(scope) = fbc->common.scope; scope 3828 Zend/zend_vm_def.h EG(scope) = fbc->common.scope; scope 3869 Zend/zend_vm_def.h EG(scope) = EX(func)->op_array.scope; scope 4518 Zend/zend_vm_def.h EX(call)->func->common.scope ? ZSTR_VAL(EX(call)->func->common.scope->name) : "", scope 4519 Zend/zend_vm_def.h EX(call)->func->common.scope ? "::" : "", scope 4619 Zend/zend_vm_def.h EX(call)->func->common.scope ? ZSTR_VAL(EX(call)->func->common.scope->name) : "", scope 4620 Zend/zend_vm_def.h EX(call)->func->common.scope ? "::" : "", scope 4676 Zend/zend_vm_def.h EX(call)->func->common.scope ? ZSTR_VAL(EX(call)->func->common.scope->name) : "", scope 4677 Zend/zend_vm_def.h EX(call)->func->common.scope ? "::" : "", scope 5020 Zend/zend_vm_def.h if (UNEXPECTED(ce != EG(scope))) { scope 5021 Zend/zend_vm_def.h zend_throw_error(NULL, "Call to private %s::__clone() from context '%s'", ZSTR_VAL(ce->name), EG(scope) ? ZSTR_VAL(EG(scope)->name) : ""); scope 5028 Zend/zend_vm_def.h if (UNEXPECTED(!zend_check_protected(zend_get_function_root_class(clone), EG(scope)))) { scope 5029 Zend/zend_vm_def.h zend_throw_error(NULL, "Call to protected %s::__clone() from context '%s'", ZSTR_VAL(ce->name), EG(scope) ? ZSTR_VAL(EG(scope)->name) : ""); scope 5123 Zend/zend_vm_def.h EG(scope) = ce; scope 5125 Zend/zend_vm_def.h EG(scope) = EX(func)->op_array.scope; scope 5479 Zend/zend_vm_def.h new_op_array->scope = EG(scope); scope 7274 Zend/zend_vm_def.h EG(scope), EX(called_scope), NULL); scope 7277 Zend/zend_vm_def.h EG(scope), EX(called_scope), Z_OBJ(EX(This)) ? &EX(This) : NULL); scope 7823 Zend/zend_vm_def.h if (UNEXPECTED(EG(scope) == NULL)) { scope 7832 Zend/zend_vm_def.h ZVAL_STR_COPY(EX_VAR(opline->result.var), EG(scope)->name); scope 7835 Zend/zend_vm_def.h if (UNEXPECTED(EG(scope)->parent == NULL)) { scope 7840 Zend/zend_vm_def.h ZVAL_STR_COPY(EX_VAR(opline->result.var), EG(scope)->parent->name); scope 7973 Zend/zend_vm_def.h EG(scope) = EX(func)->op_array.scope; scope 497 Zend/zend_vm_execute.h EG(scope) = EX(func)->op_array.scope; scope 625 Zend/zend_vm_execute.h EG(scope) = NULL; scope 651 Zend/zend_vm_execute.h EG(scope) = NULL; scope 676 Zend/zend_vm_execute.h EG(scope) = EX(func)->op_array.scope; scope 682 Zend/zend_vm_execute.h fbc->common.scope ? ZSTR_VAL(fbc->common.scope->name) : "", scope 683 Zend/zend_vm_execute.h fbc->common.scope ? "::" : "", scope 755 Zend/zend_vm_execute.h zend_throw_error(NULL, "Cannot call abstract method %s::%s()", ZSTR_VAL(fbc->common.scope->name), ZSTR_VAL(fbc->common.function_name)); scope 760 Zend/zend_vm_execute.h fbc->common.scope ? ZSTR_VAL(fbc->common.scope->name) : "", scope 761 Zend/zend_vm_execute.h fbc->common.scope ? "::" : "", scope 772 Zend/zend_vm_execute.h EG(scope) = fbc->common.scope; scope 806 Zend/zend_vm_execute.h if (fbc->common.scope) { scope 808 Zend/zend_vm_execute.h EG(scope) = fbc->common.scope; scope 881 Zend/zend_vm_execute.h EG(scope) = fbc->common.scope; scope 922 Zend/zend_vm_execute.h EG(scope) = EX(func)->op_array.scope; scope 1059 Zend/zend_vm_execute.h EX(call)->func->common.scope ? ZSTR_VAL(EX(call)->func->common.scope->name) : "", scope 1060 Zend/zend_vm_execute.h EX(call)->func->common.scope ? "::" : "", scope 1160 Zend/zend_vm_execute.h EX(call)->func->common.scope ? ZSTR_VAL(EX(call)->func->common.scope->name) : "", scope 1161 Zend/zend_vm_execute.h EX(call)->func->common.scope ? "::" : "", scope 1693 Zend/zend_vm_execute.h if (UNEXPECTED(EG(scope) == NULL)) { scope 1702 Zend/zend_vm_execute.h ZVAL_STR_COPY(EX_VAR(opline->result.var), EG(scope)->name); scope 1705 Zend/zend_vm_execute.h if (UNEXPECTED(EG(scope)->parent == NULL)) { scope 1710 Zend/zend_vm_execute.h ZVAL_STR_COPY(EX_VAR(opline->result.var), EG(scope)->parent->name); scope 1843 Zend/zend_vm_execute.h EG(scope) = EX(func)->op_array.scope; scope 1987 Zend/zend_vm_execute.h ZSTR_VAL(fbc->common.scope->name), ZSTR_VAL(fbc->common.function_name)); scope 1995 Zend/zend_vm_execute.h ZSTR_VAL(fbc->common.scope->name), ZSTR_VAL(fbc->common.function_name)); scope 2084 Zend/zend_vm_execute.h ZSTR_VAL(fbc->common.scope->name), ZSTR_VAL(fbc->common.function_name)); scope 2092 Zend/zend_vm_execute.h ZSTR_VAL(fbc->common.scope->name), ZSTR_VAL(fbc->common.function_name)); scope 2410 Zend/zend_vm_execute.h ZSTR_VAL(fbc->common.scope->name), ZSTR_VAL(fbc->common.function_name)); scope 2418 Zend/zend_vm_execute.h ZSTR_VAL(fbc->common.scope->name), ZSTR_VAL(fbc->common.function_name)); scope 2507 Zend/zend_vm_execute.h ZSTR_VAL(fbc->common.scope->name), ZSTR_VAL(fbc->common.function_name)); scope 2515 Zend/zend_vm_execute.h ZSTR_VAL(fbc->common.scope->name), ZSTR_VAL(fbc->common.function_name)); scope 2666 Zend/zend_vm_execute.h ZSTR_VAL(fbc->common.scope->name), ZSTR_VAL(fbc->common.function_name)); scope 2674 Zend/zend_vm_execute.h ZSTR_VAL(fbc->common.scope->name), ZSTR_VAL(fbc->common.function_name)); scope 2763 Zend/zend_vm_execute.h ZSTR_VAL(fbc->common.scope->name), ZSTR_VAL(fbc->common.function_name)); scope 2771 Zend/zend_vm_execute.h ZSTR_VAL(fbc->common.scope->name), ZSTR_VAL(fbc->common.function_name)); scope 3450 Zend/zend_vm_execute.h if (UNEXPECTED(ce != EG(scope))) { scope 3451 Zend/zend_vm_execute.h zend_throw_error(NULL, "Call to private %s::__clone() from context '%s'", ZSTR_VAL(ce->name), EG(scope) ? ZSTR_VAL(EG(scope)->name) : ""); scope 3458 Zend/zend_vm_execute.h if (UNEXPECTED(!zend_check_protected(zend_get_function_root_class(clone), EG(scope)))) { scope 3459 Zend/zend_vm_execute.h zend_throw_error(NULL, "Call to protected %s::__clone() from context '%s'", ZSTR_VAL(ce->name), EG(scope) ? ZSTR_VAL(EG(scope)->name) : ""); scope 3670 Zend/zend_vm_execute.h new_op_array->scope = EG(scope); scope 5698 Zend/zend_vm_execute.h if (Z_OBJ(EX(This)) && Z_OBJ(EX(This))->ce != ce->constructor->common.scope && (ce->constructor->common.fn_flags & ZEND_ACC_PRIVATE)) { scope 5716 Zend/zend_vm_execute.h ZSTR_VAL(fbc->common.scope->name), ZSTR_VAL(fbc->common.function_name)); scope 5726 Zend/zend_vm_execute.h ZSTR_VAL(fbc->common.scope->name), ZSTR_VAL(fbc->common.function_name)); scope 5785 Zend/zend_vm_execute.h ZSTR_VAL(func->common.scope->name), ZSTR_VAL(func->common.function_name)); scope 5957 Zend/zend_vm_execute.h EG(scope) = ce; scope 5959 Zend/zend_vm_execute.h EG(scope) = EX(func)->op_array.scope; scope 7694 Zend/zend_vm_execute.h if (Z_OBJ(EX(This)) && Z_OBJ(EX(This))->ce != ce->constructor->common.scope && (ce->constructor->common.fn_flags & ZEND_ACC_PRIVATE)) { scope 7712 Zend/zend_vm_execute.h ZSTR_VAL(fbc->common.scope->name), ZSTR_VAL(fbc->common.function_name)); scope 7722 Zend/zend_vm_execute.h ZSTR_VAL(fbc->common.scope->name), ZSTR_VAL(fbc->common.function_name)); scope 8124 Zend/zend_vm_execute.h EG(scope), EX(called_scope), NULL); scope 8127 Zend/zend_vm_execute.h EG(scope), EX(called_scope), Z_OBJ(EX(This)) ? &EX(This) : NULL); scope 9444 Zend/zend_vm_execute.h if (Z_OBJ(EX(This)) && Z_OBJ(EX(This))->ce != ce->constructor->common.scope && (ce->constructor->common.fn_flags & ZEND_ACC_PRIVATE)) { scope 9462 Zend/zend_vm_execute.h ZSTR_VAL(fbc->common.scope->name), ZSTR_VAL(fbc->common.function_name)); scope 9472 Zend/zend_vm_execute.h ZSTR_VAL(fbc->common.scope->name), ZSTR_VAL(fbc->common.function_name)); scope 9531 Zend/zend_vm_execute.h ZSTR_VAL(func->common.scope->name), ZSTR_VAL(func->common.function_name)); scope 11267 Zend/zend_vm_execute.h if (Z_OBJ(EX(This)) && Z_OBJ(EX(This))->ce != ce->constructor->common.scope && (ce->constructor->common.fn_flags & ZEND_ACC_PRIVATE)) { scope 11285 Zend/zend_vm_execute.h ZSTR_VAL(fbc->common.scope->name), ZSTR_VAL(fbc->common.function_name)); scope 11295 Zend/zend_vm_execute.h ZSTR_VAL(fbc->common.scope->name), ZSTR_VAL(fbc->common.function_name)); scope 11354 Zend/zend_vm_execute.h ZSTR_VAL(func->common.scope->name), ZSTR_VAL(func->common.function_name)); scope 15364 Zend/zend_vm_execute.h EX(call)->func->common.scope ? ZSTR_VAL(EX(call)->func->common.scope->name) : "", scope 15365 Zend/zend_vm_execute.h EX(call)->func->common.scope ? "::" : "", scope 17619 Zend/zend_vm_execute.h if (Z_OBJ(EX(This)) && Z_OBJ(EX(This))->ce != ce->constructor->common.scope && (ce->constructor->common.fn_flags & ZEND_ACC_PRIVATE)) { scope 17637 Zend/zend_vm_execute.h ZSTR_VAL(fbc->common.scope->name), ZSTR_VAL(fbc->common.function_name)); scope 17647 Zend/zend_vm_execute.h ZSTR_VAL(fbc->common.scope->name), ZSTR_VAL(fbc->common.function_name)); scope 17746 Zend/zend_vm_execute.h EG(scope) = ce; scope 17748 Zend/zend_vm_execute.h EG(scope) = EX(func)->op_array.scope; scope 19254 Zend/zend_vm_execute.h if (Z_OBJ(EX(This)) && Z_OBJ(EX(This))->ce != ce->constructor->common.scope && (ce->constructor->common.fn_flags & ZEND_ACC_PRIVATE)) { scope 19272 Zend/zend_vm_execute.h ZSTR_VAL(fbc->common.scope->name), ZSTR_VAL(fbc->common.function_name)); scope 19282 Zend/zend_vm_execute.h ZSTR_VAL(fbc->common.scope->name), ZSTR_VAL(fbc->common.function_name)); scope 20882 Zend/zend_vm_execute.h if (Z_OBJ(EX(This)) && Z_OBJ(EX(This))->ce != ce->constructor->common.scope && (ce->constructor->common.fn_flags & ZEND_ACC_PRIVATE)) { scope 20900 Zend/zend_vm_execute.h ZSTR_VAL(fbc->common.scope->name), ZSTR_VAL(fbc->common.function_name)); scope 20910 Zend/zend_vm_execute.h ZSTR_VAL(fbc->common.scope->name), ZSTR_VAL(fbc->common.function_name)); scope 22459 Zend/zend_vm_execute.h if (Z_OBJ(EX(This)) && Z_OBJ(EX(This))->ce != ce->constructor->common.scope && (ce->constructor->common.fn_flags & ZEND_ACC_PRIVATE)) { scope 22477 Zend/zend_vm_execute.h ZSTR_VAL(fbc->common.scope->name), ZSTR_VAL(fbc->common.function_name)); scope 22487 Zend/zend_vm_execute.h ZSTR_VAL(fbc->common.scope->name), ZSTR_VAL(fbc->common.function_name)); scope 22837 Zend/zend_vm_execute.h if (UNEXPECTED(ce != EG(scope))) { scope 22838 Zend/zend_vm_execute.h zend_throw_error(NULL, "Call to private %s::__clone() from context '%s'", ZSTR_VAL(ce->name), EG(scope) ? ZSTR_VAL(EG(scope)->name) : ""); scope 22845 Zend/zend_vm_execute.h if (UNEXPECTED(!zend_check_protected(zend_get_function_root_class(clone), EG(scope)))) { scope 22846 Zend/zend_vm_execute.h zend_throw_error(NULL, "Call to protected %s::__clone() from context '%s'", ZSTR_VAL(ce->name), EG(scope) ? ZSTR_VAL(EG(scope)->name) : ""); scope 23960 Zend/zend_vm_execute.h EG(scope) = ce; scope 23962 Zend/zend_vm_execute.h EG(scope) = EX(func)->op_array.scope; scope 28905 Zend/zend_vm_execute.h EX(call)->func->common.scope ? ZSTR_VAL(EX(call)->func->common.scope->name) : "", scope 28906 Zend/zend_vm_execute.h EX(call)->func->common.scope ? "::" : "", scope 29021 Zend/zend_vm_execute.h if (UNEXPECTED(ce != EG(scope))) { scope 29022 Zend/zend_vm_execute.h zend_throw_error(NULL, "Call to private %s::__clone() from context '%s'", ZSTR_VAL(ce->name), EG(scope) ? ZSTR_VAL(EG(scope)->name) : ""); scope 29029 Zend/zend_vm_execute.h if (UNEXPECTED(!zend_check_protected(zend_get_function_root_class(clone), EG(scope)))) { scope 29030 Zend/zend_vm_execute.h zend_throw_error(NULL, "Call to protected %s::__clone() from context '%s'", ZSTR_VAL(ce->name), EG(scope) ? ZSTR_VAL(EG(scope)->name) : ""); scope 29241 Zend/zend_vm_execute.h new_op_array->scope = EG(scope); scope 40603 Zend/zend_vm_execute.h if (UNEXPECTED(ce != EG(scope))) { scope 40604 Zend/zend_vm_execute.h zend_throw_error(NULL, "Call to private %s::__clone() from context '%s'", ZSTR_VAL(ce->name), EG(scope) ? ZSTR_VAL(EG(scope)->name) : ""); scope 40611 Zend/zend_vm_execute.h if (UNEXPECTED(!zend_check_protected(zend_get_function_root_class(clone), EG(scope)))) { scope 40612 Zend/zend_vm_execute.h zend_throw_error(NULL, "Call to protected %s::__clone() from context '%s'", ZSTR_VAL(ce->name), EG(scope) ? ZSTR_VAL(EG(scope)->name) : ""); scope 40723 Zend/zend_vm_execute.h new_op_array->scope = EG(scope); scope 278 ext/com_dotnet/com_handlers.c f.scope = obj->ce; scope 403 ext/com_dotnet/com_handlers.c f.scope = obj->ce; \ scope 274 ext/intl/transliterator/transliterator_class.c if( ( EG( scope ) != Transliterator_ce_ptr ) && scope 706 ext/ldap/ldap.c static void php_ldap_do_search(INTERNAL_FUNCTION_PARAMETERS, int scope) scope 829 ext/ldap/ldap.c ldap_search_ext(ld->link, ldap_base_dn, scope, ldap_filter, ldap_attrs, ldap_attrsonly, NULL, NULL, NULL, ldap_sizelimit, &rcs[i]); scope 870 ext/ldap/ldap.c errno = ldap_search_ext_s(ld->link, ldap_base_dn, scope, ldap_filter, ldap_attrs, ldap_attrsonly, NULL, NULL, NULL, ldap_sizelimit, &ldap_res); scope 1318 ext/mysqli/mysqli.c fcc.calling_scope = EG(scope); scope 295 ext/odbc/php_odbc.c ZEND_ARG_INFO(0, scope) scope 3713 ext/odbc/php_odbc.c SQLUSMALLINT type, scope, nullable; scope 3722 ext/odbc/php_odbc.c scope = (SQLUSMALLINT) vscope; scope 3749 ext/odbc/php_odbc.c scope, scope 299 ext/opcache/Optimizer/pass1_5.c if (op_array->scope && scope 301 ext/opcache/Optimizer/pass1_5.c ZSTR_VAL(op_array->scope->name), Z_STRLEN(ZEND_OP1_LITERAL(opline)) + 1)) { scope 302 ext/opcache/Optimizer/pass1_5.c ce = op_array->scope; scope 313 ext/opcache/Optimizer/pass1_5.c } else if (op_array->scope && scope 320 ext/opcache/Optimizer/pass1_5.c ce = op_array->scope; scope 698 ext/opcache/Optimizer/zend_optimizer.c if (op_array->scope == ce) { scope 702 ext/opcache/Optimizer/zend_optimizer.c if ((orig_op_array = zend_hash_find_ptr(&op_array->scope->function_table, q->key)) != NULL) { scope 729 ext/opcache/Optimizer/zend_optimizer.c if (op_array->scope == ce) { scope 733 ext/opcache/Optimizer/zend_optimizer.c if ((orig_op_array = zend_hash_find_ptr(&op_array->scope->function_table, q->key)) != NULL) { scope 318 ext/opcache/zend_accelerator_util_funcs.c if ((void*)new_entry->scope >= ZCG(current_persistent_script)->arena_mem && scope 319 ext/opcache/zend_accelerator_util_funcs.c (void*)new_entry->scope < (void*)((char*)ZCG(current_persistent_script)->arena_mem + ZCG(current_persistent_script)->arena_size)) { scope 321 ext/opcache/zend_accelerator_util_funcs.c new_entry->scope = ARENA_REALLOC(new_entry->scope); scope 468 ext/opcache/zend_file_cache.c SERIALIZE_PTR(op_array->scope); scope 1019 ext/opcache/zend_file_cache.c UNSERIALIZE_PTR(op_array->scope); scope 624 ext/opcache/zend_persist.c if (op_array->scope) { scope 625 ext/opcache/zend_persist.c op_array->scope = zend_shared_alloc_get_xlat_entry(op_array->scope); scope 663 ext/opcache/zend_persist.c if (op_array->scope && op_array->prototype) { scope 452 ext/pdo/pdo_dbh.c fcc.calling_scope = EG(scope); scope 1302 ext/pdo/pdo_dbh.c func.scope = dbh_obj->std.ce; scope 755 ext/pdo/pdo_stmt.c fcc->calling_scope = EG(scope); scope 2636 ext/pdo/pdo_stmt.c ctor.scope = pdo_row_ce; scope 2816 ext/pgsql/pgsql.c fcc.calling_scope = EG(scope); scope 369 ext/reflection/php_reflection.c static void _function_string(string *str, zend_function *fptr, zend_class_entry *scope, char* indent); scope 498 ext/reflection/php_reflection.c && ((mptr->common.fn_flags & ZEND_ACC_PRIVATE) == 0 || mptr->common.scope == ce)) scope 512 ext/reflection/php_reflection.c && ((mptr->common.fn_flags & ZEND_ACC_PRIVATE) == 0 || mptr->common.scope == ce)) scope 574 ext/reflection/php_reflection.c && ((mptr->common.fn_flags & ZEND_ACC_PRIVATE) == 0 || mptr->common.scope == ce)) scope 580 ext/reflection/php_reflection.c || mptr->common.scope == ce scope 696 ext/reflection/php_reflection.c old_scope = EG(scope); scope 697 ext/reflection/php_reflection.c EG(scope) = fptr->common.scope; scope 699 ext/reflection/php_reflection.c EG(scope) = old_scope; scope 782 ext/reflection/php_reflection.c static void _function_string(string *str, zend_function *fptr, zend_class_entry *scope, char* indent) scope 798 ext/reflection/php_reflection.c string_printf(str, fptr->common.fn_flags & ZEND_ACC_CLOSURE ? "Closure [ " : (fptr->common.scope ? "Method [ " : "Function [ ")); scope 807 ext/reflection/php_reflection.c if (scope && fptr->common.scope) { scope 808 ext/reflection/php_reflection.c if (fptr->common.scope != scope) { scope 809 ext/reflection/php_reflection.c string_printf(str, ", inherits %s", ZSTR_VAL(fptr->common.scope->name)); scope 810 ext/reflection/php_reflection.c } else if (fptr->common.scope->parent) { scope 814 ext/reflection/php_reflection.c if ((overwrites = zend_hash_find_ptr(&fptr->common.scope->parent->function_table, lc_name)) != NULL) { scope 815 ext/reflection/php_reflection.c if (fptr->common.scope != overwrites->common.scope) { scope 816 ext/reflection/php_reflection.c string_printf(str, ", overwrites %s", ZSTR_VAL(overwrites->common.scope->name)); scope 822 ext/reflection/php_reflection.c if (fptr->common.prototype && fptr->common.prototype->common.scope) { scope 823 ext/reflection/php_reflection.c string_printf(str, ", prototype %s", ZSTR_VAL(fptr->common.prototype->common.scope->name)); scope 843 ext/reflection/php_reflection.c if (fptr->common.scope) { scope 1238 ext/reflection/php_reflection.c intern->ce = fptr->common.scope; scope 1260 ext/reflection/php_reflection.c intern->ce = fptr->common.scope; scope 1296 ext/reflection/php_reflection.c ZVAL_STR_COPY(&name, (method->common.scope && method->common.scope->trait_aliases)? scope 1298 ext/reflection/php_reflection.c ZVAL_STR_COPY(&classname, method->common.scope->name); scope 1733 ext/reflection/php_reflection.c if (closure_func && closure_func->common.scope) { scope 1734 ext/reflection/php_reflection.c zend_reflection_class_factory(closure_func->common.scope, return_value); scope 1899 ext/reflection/php_reflection.c if (UNEXPECTED(zval_update_constant_ex(val, 1, fptr->common.scope) != SUCCESS)) { scope 1939 ext/reflection/php_reflection.c fcc.calling_scope = EG(scope); scope 1999 ext/reflection/php_reflection.c fcc.calling_scope = EG(scope); scope 2264 ext/reflection/php_reflection.c } else if (ex->func->op_array.scope) { scope 2265 ext/reflection/php_reflection.c reflection_method_factory(ex->func->op_array.scope, ex->func, NULL, return_value); scope 2360 ext/reflection/php_reflection.c ce = fptr->common.scope; scope 2558 ext/reflection/php_reflection.c if (!param->fptr->common.scope) { scope 2561 ext/reflection/php_reflection.c reflection_method_factory(param->fptr->common.scope, _copy_function(param->fptr), Z_ISUNDEF(intern->obj)? NULL : &intern->obj, return_value); scope 2578 ext/reflection/php_reflection.c if (param->fptr->common.scope) { scope 2579 ext/reflection/php_reflection.c zend_reflection_class_factory(param->fptr->common.scope, return_value); scope 2622 ext/reflection/php_reflection.c ce = param->fptr->common.scope; scope 2629 ext/reflection/php_reflection.c ce = param->fptr->common.scope; scope 2862 ext/reflection/php_reflection.c zend_class_entry *old_scope = EG(scope); scope 2864 ext/reflection/php_reflection.c EG(scope) = param->fptr->common.scope; scope 2866 ext/reflection/php_reflection.c EG(scope) = old_scope; scope 3090 ext/reflection/php_reflection.c ZVAL_STR_COPY(&name, mptr->common.scope->name); scope 3130 ext/reflection/php_reflection.c zend_create_fake_closure(return_value, mptr, mptr->common.scope, mptr->common.scope, NULL); scope 3136 ext/reflection/php_reflection.c if (!instanceof_function(Z_OBJCE_P(obj), mptr->common.scope)) { scope 3147 ext/reflection/php_reflection.c zend_create_fake_closure(return_value, mptr, mptr->common.scope, Z_OBJCE_P(obj), obj); scope 3178 ext/reflection/php_reflection.c ZSTR_VAL(mptr->common.scope->name), ZSTR_VAL(mptr->common.function_name)); scope 3183 ext/reflection/php_reflection.c ZSTR_VAL(mptr->common.scope->name), ZSTR_VAL(mptr->common.function_name), scope 3201 ext/reflection/php_reflection.c obj_ce = mptr->common.scope; scope 3210 ext/reflection/php_reflection.c if (!instanceof_function(obj_ce, mptr->common.scope)) { scope 3238 ext/reflection/php_reflection.c "Invocation of method %s::%s() failed", ZSTR_VAL(mptr->common.scope->name), ZSTR_VAL(mptr->common.function_name)); scope 3278 ext/reflection/php_reflection.c ZSTR_VAL(mptr->common.scope->name), ZSTR_VAL(mptr->common.function_name)); scope 3283 ext/reflection/php_reflection.c ZSTR_VAL(mptr->common.scope->name), ZSTR_VAL(mptr->common.function_name), scope 3306 ext/reflection/php_reflection.c obj_ce = mptr->common.scope; scope 3312 ext/reflection/php_reflection.c ZSTR_VAL(mptr->common.scope->name), ZSTR_VAL(mptr->common.function_name)); scope 3318 ext/reflection/php_reflection.c if (!instanceof_function(obj_ce, mptr->common.scope)) { scope 3357 ext/reflection/php_reflection.c "Invocation of method %s::%s() failed", ZSTR_VAL(mptr->common.scope->name), ZSTR_VAL(mptr->common.function_name)); scope 3561 ext/reflection/php_reflection.c RETURN_BOOL(mptr->common.fn_flags & ZEND_ACC_CTOR && intern->ce->constructor && intern->ce->constructor->common.scope == mptr->common.scope); scope 3610 ext/reflection/php_reflection.c zend_reflection_class_factory(mptr->common.scope, return_value); scope 3634 ext/reflection/php_reflection.c reflection_method_factory(mptr->common.prototype->common.scope, mptr->common.prototype, NULL, return_value); scope 4596 ext/reflection/php_reflection.c old_scope = EG(scope); scope 4597 ext/reflection/php_reflection.c EG(scope) = ce; scope 4599 ext/reflection/php_reflection.c EG(scope) = old_scope; scope 4635 ext/reflection/php_reflection.c fcc.calling_scope = EG(scope); scope 4701 ext/reflection/php_reflection.c old_scope = EG(scope); scope 4702 ext/reflection/php_reflection.c EG(scope) = ce; scope 4704 ext/reflection/php_reflection.c EG(scope) = old_scope; scope 4739 ext/reflection/php_reflection.c fcc.calling_scope = EG(scope); scope 2145 ext/simplexml/simplexml.c if (fptr_count->common.scope == parent) { scope 1169 ext/soap/php_encoding.c old_scope = EG(scope); scope 1170 ext/soap/php_encoding.c EG(scope) = Z_OBJCE_P(object); scope 1173 ext/soap/php_encoding.c EG(scope) = old_scope; scope 1184 ext/soap/php_encoding.c old_scope = EG(scope); scope 1185 ext/soap/php_encoding.c EG(scope) = Z_OBJCE_P(object); scope 1192 ext/soap/php_encoding.c EG(scope) = old_scope; scope 1202 ext/soap/php_encoding.c EG(scope) = old_scope; scope 1221 ext/soap/php_encoding.c old_scope = EG(scope); scope 1222 ext/soap/php_encoding.c EG(scope) = Z_OBJCE_P(object); scope 1224 ext/soap/php_encoding.c EG(scope) = old_scope; scope 665 ext/soap/soap.c fe.scope = NULL; scope 23 ext/sockets/sockaddr_conv.c char *scope = strchr(string, '%'); scope 63 ext/sockets/sockaddr_conv.c if (scope++) { scope 68 ext/sockets/sockaddr_conv.c if (IS_LONG == is_numeric_string(scope, strlen(scope), &lval, &dval, 0)) { scope 73 ext/sockets/sockaddr_conv.c php_string_to_if_index(scope, &scope_id); scope 724 ext/spl/php_spl.c } else if (alfi->func_ptr->common.scope) { scope 212 ext/spl/spl_array.c if (intern->fptr_offset_get->common.scope == parent) { scope 216 ext/spl/spl_array.c if (intern->fptr_offset_set->common.scope == parent) { scope 220 ext/spl/spl_array.c if (intern->fptr_offset_has->common.scope == parent) { scope 224 ext/spl/spl_array.c if (intern->fptr_offset_del->common.scope == parent) { scope 228 ext/spl/spl_array.c if (intern->fptr_count->common.scope == parent) { scope 243 ext/spl/spl_array.c if (class_type->iterator_funcs.zf_rewind->common.scope != parent) intern->ar_flags |= SPL_ARRAY_OVERLOADED_REWIND; scope 244 ext/spl/spl_array.c if (class_type->iterator_funcs.zf_valid->common.scope != parent) intern->ar_flags |= SPL_ARRAY_OVERLOADED_VALID; scope 245 ext/spl/spl_array.c if (class_type->iterator_funcs.zf_key->common.scope != parent) intern->ar_flags |= SPL_ARRAY_OVERLOADED_KEY; scope 246 ext/spl/spl_array.c if (class_type->iterator_funcs.zf_current->common.scope != parent) intern->ar_flags |= SPL_ARRAY_OVERLOADED_CURRENT; scope 247 ext/spl/spl_array.c if (class_type->iterator_funcs.zf_next->common.scope != parent) intern->ar_flags |= SPL_ARRAY_OVERLOADED_NEXT; scope 442 ext/spl/spl_directory.c if (ce->constructor->common.scope != spl_ce_SplFileInfo) { scope 487 ext/spl/spl_directory.c if (ce->constructor->common.scope != spl_ce_SplFileInfo) { scope 511 ext/spl/spl_directory.c if (ce->constructor->common.scope != spl_ce_SplFileObject) { scope 2151 ext/spl/spl_directory.c if (SPL_HAS_FLAG(intern->flags, SPL_FILE_OBJECT_READ_CSV) || intern->u.file.func_getCurr->common.scope != spl_ce_SplFileObject) { scope 429 ext/spl/spl_dllist.c if (intern->fptr_offset_get->common.scope == parent) { scope 433 ext/spl/spl_dllist.c if (intern->fptr_offset_set->common.scope == parent) { scope 437 ext/spl/spl_dllist.c if (intern->fptr_offset_has->common.scope == parent) { scope 441 ext/spl/spl_dllist.c if (intern->fptr_offset_del->common.scope == parent) { scope 445 ext/spl/spl_dllist.c if (intern->fptr_count->common.scope == parent) { scope 76 ext/spl/spl_engine.h fcc.calling_scope = EG(scope); scope 265 ext/spl/spl_fixedarray.c if (class_type->iterator_funcs.zf_rewind->common.scope != parent) { scope 268 ext/spl/spl_fixedarray.c if (class_type->iterator_funcs.zf_valid->common.scope != parent) { scope 271 ext/spl/spl_fixedarray.c if (class_type->iterator_funcs.zf_key->common.scope != parent) { scope 274 ext/spl/spl_fixedarray.c if (class_type->iterator_funcs.zf_current->common.scope != parent) { scope 277 ext/spl/spl_fixedarray.c if (class_type->iterator_funcs.zf_next->common.scope != parent) { scope 282 ext/spl/spl_fixedarray.c if (intern->fptr_offset_get->common.scope == parent) { scope 286 ext/spl/spl_fixedarray.c if (intern->fptr_offset_set->common.scope == parent) { scope 290 ext/spl/spl_fixedarray.c if (intern->fptr_offset_has->common.scope == parent) { scope 294 ext/spl/spl_fixedarray.c if (intern->fptr_offset_del->common.scope == parent) { scope 298 ext/spl/spl_fixedarray.c if (intern->fptr_count->common.scope == parent) { scope 425 ext/spl/spl_heap.c if (intern->fptr_cmp->common.scope == parent) { scope 429 ext/spl/spl_heap.c if (intern->fptr_count->common.scope == parent) { scope 414 ext/spl/spl_iterators.c if (!EG(exception) && (!object->endChildren || object->endChildren->common.scope != spl_ce_RecursiveIteratorIterator)) { scope 550 ext/spl/spl_iterators.c if (intern->beginIteration->common.scope == ce_base) { scope 554 ext/spl/spl_iterators.c if (intern->endIteration->common.scope == ce_base) { scope 558 ext/spl/spl_iterators.c if (intern->callHasChildren->common.scope == ce_base) { scope 562 ext/spl/spl_iterators.c if (intern->callGetChildren->common.scope == ce_base) { scope 566 ext/spl/spl_iterators.c if (intern->beginChildren->common.scope == ce_base) { scope 570 ext/spl/spl_iterators.c if (intern->endChildren->common.scope == ce_base) { scope 574 ext/spl/spl_iterators.c if (intern->nextElement->common.scope == ce_base) { scope 242 ext/spl/spl_observer.c if (intern->fptr_get_hash->common.scope == spl_ce_SplObjectStorage) { scope 1859 ext/standard/array.c if (var_exists && ZSTR_LEN(var_name) == sizeof("this")-1 && !strcmp(ZSTR_VAL(var_name), "this") && EG(scope) && ZSTR_LEN(EG(scope)->name) != 0) { scope 167 ext/standard/assert.c zend_class_entry *orig_scope = EG(scope); scope 197 ext/standard/assert.c EG(scope) = orig_scope; scope 4832 ext/standard/basic_functions.c if (!EX(prev_execute_data)->func->common.scope) { scope 957 ext/wddx/wddx.c zend_class_entry *old_scope = EG(scope); scope 959 ext/wddx/wddx.c EG(scope) = Z_OBJCE(ent2->data); scope 962 ext/wddx/wddx.c EG(scope) = old_scope; scope 313 main/streams/userspace.c fcc.calling_scope = EG(scope); scope 650 sapi/phpdbg/phpdbg.c } else if (cur->function_name != last_function || cur->scope != last_scope) { scope 653 sapi/phpdbg/phpdbg.c last_scope = cur->scope; scope 497 sapi/phpdbg/phpdbg_bp.c if (op_array->scope) { scope 518 sapi/phpdbg/phpdbg_bp.c if (op_array->scope != NULL && !(func_table = zend_hash_find_ptr(&PHPDBG_G(bp)[PHPDBG_BREAK_METHOD_OPLINE], op_array->scope->name))) { scope 568 sapi/phpdbg/phpdbg_bp.c if (op_array->function_name == NULL && op_array->scope == NULL && new_break->class_len == ZSTR_LEN(op_array->filename) && !memcmp(ZSTR_VAL(op_array->filename), new_break->class_name, new_break->class_len)) { scope 924 sapi/phpdbg/phpdbg_bp.c if (ops->scope) { scope 946 sapi/phpdbg/phpdbg_bp.c zend_string *class_lcname = zend_string_tolower(ops->scope->name); scope 1029 sapi/phpdbg/phpdbg_bp.c if (ops->scope) { scope 1030 sapi/phpdbg/phpdbg_bp.c size_t lengths[2] = { strlen(param->method.class), ZSTR_LEN(ops->scope->name) }; scope 1031 sapi/phpdbg/phpdbg_bp.c if (lengths[0] == lengths[1] && memcmp(param->method.class, ops->scope->name, lengths[0]) == SUCCESS) { scope 40 sapi/phpdbg/phpdbg_frame.c EG(scope) = PHPDBG_EX(func)->op_array.scope; scope 82 sapi/phpdbg/phpdbg_frame.c EG(scope) = PHPDBG_EX(func)->op_array.scope; scope 214 sapi/phpdbg/phpdbg_info.c if (ops->scope) { scope 215 sapi/phpdbg/phpdbg_info.c phpdbg_notice("variableinfo", "method=\"%s::%s\" num=\"%d\"", "Variables in %s::%s() (%d)", ops->scope->name->val, ops->function_name->val, zend_hash_num_elements(&vars)); scope 315 sapi/phpdbg/phpdbg_info.c if (ops->scope) { scope 316 sapi/phpdbg/phpdbg_info.c phpdbg_notice("literalinfo", "method=\"%s::%s\" num=\"%d\"", "Literal Constants in %s::%s() (%d)", ops->scope->name->val, ops->function_name->val, count); scope 203 sapi/phpdbg/phpdbg_list.c if (EG(scope)) { scope 207 sapi/phpdbg/phpdbg_list.c func_table = &EG(scope)->function_table; scope 209 sapi/phpdbg/phpdbg_opcode.c cur->scope = op_array->scope; scope 34 sapi/phpdbg/phpdbg_opcode.h zend_class_entry *scope; scope 64 sapi/phpdbg/phpdbg_print.c if (method->common.scope) { scope 68 sapi/phpdbg/phpdbg_print.c ZSTR_VAL(method->common.scope->name), scope 96 sapi/phpdbg/phpdbg_print.c if (method->common.scope) { scope 97 sapi/phpdbg/phpdbg_print.c phpdbg_writeln("printoplineinfo", "type=\"Internal\" method=\"%s::%s\"", "\tInternal %s::%s()", ZSTR_VAL(method->common.scope->name), ZSTR_VAL(method->common.function_name)); scope 129 sapi/phpdbg/phpdbg_print.c if (ops->scope) { scope 130 sapi/phpdbg/phpdbg_print.c phpdbg_notice("printinfo", "method=\"%s::%s\" num=\"%d\"", "Stack in %s::%s() (%d ops)", ZSTR_VAL(ops->scope->name), ZSTR_VAL(ops->function_name), ops->last); scope 220 sapi/phpdbg/phpdbg_print.c if (EG(scope)) { scope 224 sapi/phpdbg/phpdbg_print.c func_table = &EG(scope)->function_table; scope 243 sapi/phpdbg/phpdbg_print.c (fbc->common.scope) ? "Method" : "Function", scope 802 sapi/phpdbg/phpdbg_prompt.c zend_class_entry *original_scope = EG(scope); scope 850 sapi/phpdbg/phpdbg_prompt.c EG(scope) = original_scope; scope 683 sapi/phpdbg/phpdbg_watch.c if (EG(scope) && len >= 5 && !memcmp("$this", input, 5)) {