Lines Matching refs:class_name
327 ZEND_API zval *zend_get_class_constant_ex(zend_string *class_name, zend_string *constant_name, zend… in zend_get_class_constant_ex() argument
333 if (ZSTR_HAS_CE_CACHE(class_name)) { in zend_get_class_constant_ex()
334 ce = ZSTR_GET_CE_CACHE(class_name); in zend_get_class_constant_ex()
336 ce = zend_fetch_class(class_name, flags); in zend_get_class_constant_ex()
338 } else if (zend_string_equals_literal_ci(class_name, "self")) { in zend_get_class_constant_ex()
344 } else if (zend_string_equals_literal_ci(class_name, "parent")) { in zend_get_class_constant_ex()
354 } else if (zend_string_equals_literal_ci(class_name, "static")) { in zend_get_class_constant_ex()
361 ce = zend_fetch_class(class_name, flags); in zend_get_class_constant_ex()
367 …zend_throw_error(NULL, "Undefined constant %s::%s", ZSTR_VAL(class_name), ZSTR_VAL(constant_name)); in zend_get_class_constant_ex()
374 …t %s::%s", zend_visibility_string(ZEND_CLASS_CONST_FLAGS(c)), ZSTR_VAL(class_name), ZSTR_VAL(const… in zend_get_class_constant_ex()
386 …zend_throw_error(NULL, "Cannot declare self-referencing constant %s::%s", ZSTR_VAL(class_name), ZS… in zend_get_class_constant_ex()
423 zend_string *class_name = zend_string_init_interned(name, class_name_len, 0); in zend_get_constant_ex() local
424 zval *ret_constant = zend_get_class_constant_ex(class_name, constant_name, scope, flags); in zend_get_constant_ex()
426 zend_string_release_ex(class_name, 0); in zend_get_constant_ex()