Lines Matching refs:class_name
312 ZEND_API zval *zend_get_class_constant_ex(zend_string *class_name, zend_string *constant_name, zend… in zend_get_class_constant_ex() argument
318 if (ZSTR_HAS_CE_CACHE(class_name)) { in zend_get_class_constant_ex()
319 ce = ZSTR_GET_CE_CACHE(class_name); in zend_get_class_constant_ex()
321 ce = zend_fetch_class(class_name, flags); in zend_get_class_constant_ex()
323 } else if (zend_string_equals_literal_ci(class_name, "self")) { in zend_get_class_constant_ex()
329 } else if (zend_string_equals_literal_ci(class_name, "parent")) { in zend_get_class_constant_ex()
339 } else if (zend_string_equals_literal_ci(class_name, "static")) { in zend_get_class_constant_ex()
346 ce = zend_fetch_class(class_name, flags); in zend_get_class_constant_ex()
352 …zend_throw_error(NULL, "Undefined constant %s::%s", ZSTR_VAL(class_name), ZSTR_VAL(constant_name)); in zend_get_class_constant_ex()
359 …t %s::%s", zend_visibility_string(ZEND_CLASS_CONST_FLAGS(c)), ZSTR_VAL(class_name), ZSTR_VAL(const… in zend_get_class_constant_ex()
367 …zend_throw_error(NULL, "Cannot access trait constant %s::%s directly", ZSTR_VAL(class_name), ZSTR_… in zend_get_class_constant_ex()
380 …zend_throw_error(NULL, "Cannot declare self-referencing constant %s::%s", ZSTR_VAL(class_name), ZS… in zend_get_class_constant_ex()
417 zend_string *class_name = zend_string_init_interned(name, class_name_len, 0); in zend_get_constant_ex() local
418 zval *ret_constant = zend_get_class_constant_ex(class_name, constant_name, scope, flags); in zend_get_constant_ex()
420 zend_string_release_ex(class_name, 0); in zend_get_constant_ex()