Lines Matching refs:scope

951 		zend_class_entry *scope = zend_get_executed_scope();  in ZEND_FUNCTION()  local
953 if (scope) { in ZEND_FUNCTION()
954 RETURN_STR_COPY(scope->name); in ZEND_FUNCTION()
979 zend_class_entry *scope = zend_get_executed_scope(); in ZEND_FUNCTION() local
980 if (!scope) { in ZEND_FUNCTION()
1091 static void add_class_vars(zend_class_entry *scope, zend_class_entry *ce, int statics, zval *return… in add_class_vars() argument
1099 prop_info->ce != scope) || in add_class_vars()
1101 !zend_check_protected(prop_info->ce, scope)) || in add_class_vars()
1103 ce != scope && in add_class_vars()
1104 prop_info->ce != scope)) { in add_class_vars()
1141 zend_class_entry *ce, *scope; in ZEND_FUNCTION() local
1157 scope = zend_get_executed_scope(); in ZEND_FUNCTION()
1158 add_class_vars(scope, ce, 0, return_value); in ZEND_FUNCTION()
1159 add_class_vars(scope, ce, 1, return_value); in ZEND_FUNCTION()
1266 zend_class_entry *scope; in ZEND_FUNCTION() local
1285 scope = zend_get_executed_scope(); in ZEND_FUNCTION()
1290 || (scope && in ZEND_FUNCTION()
1292 zend_check_protected(mptr->common.scope, scope)) in ZEND_FUNCTION()
1294 scope == mptr->common.scope)))) { in ZEND_FUNCTION()
1302 mptr->common.scope == ce || in ZEND_FUNCTION()
1308 ZVAL_STR_COPY(&method_name, zend_find_alias_name(mptr->common.scope, key)); in ZEND_FUNCTION()
1354 RETVAL_BOOL(func->common.scope == zend_ce_closure in ZEND_FUNCTION()
2321 if (func->common.scope && func->common.scope->trait_aliases) { in ZEND_FUNCTION()
2322 … zend_function_name = zend_resolve_method_name(object ? object->ce : func->common.scope, func); in ZEND_FUNCTION()
2338 if (func->common.scope) { in ZEND_FUNCTION()
2339 class_name = func->common.scope->name; in ZEND_FUNCTION()
2347 } else if (func->common.scope) { in ZEND_FUNCTION()
2348 class_name = func->common.scope->name; in ZEND_FUNCTION()
2404 && !func->common.scope in ZEND_FUNCTION()
2555 function_name = (func->common.scope && in zend_fetch_debug_backtrace()
2556 func->common.scope->trait_aliases) ? in zend_fetch_debug_backtrace()
2558 (object ? object->ce : func->common.scope), func) : in zend_fetch_debug_backtrace()
2570 if (func->common.scope) { in zend_fetch_debug_backtrace()
2571 ZVAL_STR_COPY(&tmp, func->common.scope->name); in zend_fetch_debug_backtrace()
2586 } else if (func->common.scope) { in zend_fetch_debug_backtrace()
2587 ZVAL_STR_COPY(&tmp, func->common.scope->name); in zend_fetch_debug_backtrace()