Lines Matching refs:scope

516 			zend_class_entry *ce = func->common.scope;  in get_active_class_name()
587 if (func->common.scope && func->common.function_name) { in get_function_or_method_name()
588 return zend_create_member_string(func->common.scope->name, func->common.function_name); in get_function_or_method_name()
683 } else if (ex->func && (ZEND_USER_CODE(ex->func->type) || ex->func->common.scope)) { in zend_get_executed_scope()
684 return ex->func->common.scope; in zend_get_executed_scope()
697 ZEND_API zend_result ZEND_FASTCALL zval_update_constant_with_ctx(zval *p, zend_class_entry *scope, … in zval_update_constant_with_ctx() argument
704 zval *zv = zend_get_constant_ex(name, scope, ast->attr); in zval_update_constant_with_ctx()
723 zend_result result = zend_ast_evaluate_ex(&tmp, ast, scope, &short_circuited, ctx) != SUCCESS; in zval_update_constant_with_ctx()
738 ZEND_API zend_result ZEND_FASTCALL zval_update_constant_ex(zval *p, zend_class_entry *scope) in zval_update_constant_ex() argument
741 return zval_update_constant_with_ctx(p, scope, &ctx); in zval_update_constant_ex()
1069 fn->common.scope ? ZSTR_VAL(fn->common.scope->name) : "", in zend_call_known_function()
1070 fn->common.scope ? "::" : "", ZSTR_VAL(fn->common.function_name)); in zend_call_known_function()
1270 if (ex->func->type != ZEND_INTERNAL_FUNCTION || ex->func->common.scope) { in zend_get_called_scope()
1286 if (ex->func->type != ZEND_INTERNAL_FUNCTION || ex->func->common.scope) { in zend_get_this_object()
1322 new_op_array->scope = zend_get_executed_scope(); in zend_eval_stringl()
1671 zend_class_entry *ce, *scope; in zend_fetch_class() local
1677 scope = zend_get_executed_scope(); in zend_fetch_class()
1678 if (UNEXPECTED(!scope)) { in zend_fetch_class()
1681 return scope; in zend_fetch_class()
1683 scope = zend_get_executed_scope(); in zend_fetch_class()
1684 if (UNEXPECTED(!scope)) { in zend_fetch_class()
1688 if (UNEXPECTED(!scope->parent)) { in zend_fetch_class()
1691 return scope->parent; in zend_fetch_class()
1718 zend_string *class_name, uint32_t fetch_type, zend_class_entry *scope) in zend_fetch_class_with_scope() argument
1723 if (UNEXPECTED(!scope)) { in zend_fetch_class_with_scope()
1726 return scope; in zend_fetch_class_with_scope()
1728 if (UNEXPECTED(!scope)) { in zend_fetch_class_with_scope()
1732 if (UNEXPECTED(!scope->parent)) { in zend_fetch_class_with_scope()
1735 return scope->parent; in zend_fetch_class_with_scope()