Lines Matching refs:constant_name
295 ZEND_API zval *zend_get_class_constant_ex(zend_string *class_name, zend_string *constant_name, zend… in zend_get_class_constant_ex() argument
332 c = zend_hash_find_ptr(CE_CONSTANTS_TABLE(ce), constant_name); in zend_get_class_constant_ex()
335 …zend_throw_error(NULL, "Undefined constant %s::%s", ZSTR_VAL(class_name), ZSTR_VAL(constant_name)); in zend_get_class_constant_ex()
342 … zend_visibility_string(ZEND_CLASS_CONST_FLAGS(c)), ZSTR_VAL(class_name), ZSTR_VAL(constant_name)); in zend_get_class_constant_ex()
350 …LL, "Cannot access trait constant %s::%s directly", ZSTR_VAL(class_name), ZSTR_VAL(constant_name)); in zend_get_class_constant_ex()
357 zend_deprecated_class_constant(c, constant_name); in zend_get_class_constant_ex()
371 … "Cannot declare self-referencing constant %s::%s", ZSTR_VAL(class_name), ZSTR_VAL(constant_name)); in zend_get_class_constant_ex()
377 ret = zend_update_class_constant(c, constant_name, c->ce); in zend_get_class_constant_ex()
407 zend_string *constant_name = zend_string_init(colon + 1, const_name_len, 0); in zend_get_constant_ex() local
409 zval *ret_constant = zend_get_class_constant_ex(class_name, constant_name, scope, flags); in zend_get_constant_ex()
412 zend_string_efree(constant_name); in zend_get_constant_ex()
421 const char *constant_name = colon + 1; in zend_get_constant_ex() local
432 memcpy(lcname + prefix_len + 1, constant_name, const_name_len + 1); in zend_get_constant_ex()
440 c = zend_get_constant_str_impl(constant_name, const_name_len); in zend_get_constant_ex()