Lines Matching refs:scope
239 if (EG(scope) && EG(scope)->name) { in zend_get_special_constant()
244 const_name_len = sizeof("\0__CLASS__") + EG(scope)->name_length; in zend_get_special_constant()
247 …zend_str_tolower_copy(const_name + sizeof("\0__CLASS__")-1, EG(scope)->name, EG(scope)->name_lengt… in zend_get_special_constant()
251 Z_STRVAL((**c).value) = estrndup(EG(scope)->name, EG(scope)->name_length); in zend_get_special_constant()
252 Z_STRLEN((**c).value) = EG(scope)->name_length; in zend_get_special_constant()
315 …stant_ex(const char *name, uint name_len, zval *result, zend_class_entry *scope, ulong flags TSRML… in zend_get_constant_ex() argument
340 if (!scope) { in zend_get_constant_ex()
342 scope = EG(scope); in zend_get_constant_ex()
344 scope = CG(active_class_entry); in zend_get_constant_ex()
350 if (scope) { in zend_get_constant_ex()
351 ce = scope; in zend_get_constant_ex()
359 if (!scope) { in zend_get_constant_ex()
361 } else if (!scope->parent) { in zend_get_constant_ex()
364 ce = scope->parent; in zend_get_constant_ex()