Lines Matching refs:scope

403 			zend_class_entry *ce = func->common.scope;  in get_active_class_name()
503 } else if (ex->func && (ZEND_USER_CODE(ex->func->type) || ex->func->common.scope)) { in zend_get_executed_scope()
504 return ex->func->common.scope; in zend_get_executed_scope()
552 ZEND_API int zval_update_constant_ex(zval *p, zend_class_entry *scope) /* {{{ */ in zval_update_constant_ex() argument
559 zval *zv = zend_get_constant_ex(name, scope, ast->attr); in zval_update_constant_ex()
569 if (UNEXPECTED(zend_ast_evaluate(&tmp, ast, scope) != SUCCESS)) { in zval_update_constant_ex()
688 func->common.scope ? ZSTR_VAL(func->common.scope->name) : "", in zend_call_function()
689 func->common.scope ? "::" : "", in zend_call_function()
714 func->common.scope ? ZSTR_VAL(func->common.scope->name) : "", in zend_call_function()
715 func->common.scope ? "::" : "", in zend_call_function()
963 if (ex->func->type != ZEND_INTERNAL_FUNCTION || ex->func->common.scope) { in zend_get_called_scope()
979 if (ex->func->type != ZEND_INTERNAL_FUNCTION || ex->func->common.scope) { in zend_get_this_object()
1018 new_op_array->scope = zend_get_executed_scope(); in zend_eval_stringl()
1304 zend_class_entry *ce, *scope; in zend_fetch_class() local
1310 scope = zend_get_executed_scope(); in zend_fetch_class()
1311 if (UNEXPECTED(!scope)) { in zend_fetch_class()
1314 return scope; in zend_fetch_class()
1316 scope = zend_get_executed_scope(); in zend_fetch_class()
1317 if (UNEXPECTED(!scope)) { in zend_fetch_class()
1321 if (UNEXPECTED(!scope->parent)) { in zend_fetch_class()
1324 return scope->parent; in zend_fetch_class()