Home
last modified time | relevance | path

Searched refs:constant_name (Results 1 – 2 of 2) sorted by relevance

/PHP-7.1/Zend/
H A Dzend_constants.c328 zend_string *constant_name = zend_string_init(colon + 1, const_name_len, 0); in zend_get_constant_ex() local
359 c = zend_hash_find_ptr(&ce->constants_table, constant_name); in zend_get_constant_ex()
362 …ow_error(NULL, "Undefined class constant '%s::%s'", ZSTR_VAL(class_name), ZSTR_VAL(constant_name)); in zend_get_constant_ex()
368 …, zend_visibility_string(Z_ACCESS_FLAGS(c->value)), ZSTR_VAL(class_name), ZSTR_VAL(constant_name)); in zend_get_constant_ex()
378 …Cannot declare self-referencing constant '%s::%s'", ZSTR_VAL(class_name), ZSTR_VAL(constant_name)); in zend_get_constant_ex()
393 zend_string_free(constant_name); in zend_get_constant_ex()
402 const char *constant_name = colon + 1; in zend_get_constant_ex() local
413 memcpy(lcname + prefix_len + 1, constant_name, const_name_len + 1); in zend_get_constant_ex()
430 return zend_get_constant_str(constant_name, const_name_len); in zend_get_constant_ex()
H A Dzend_builtin_functions.c141 ZEND_ARG_INFO(0, constant_name) in ZEND_END_ARG_INFO()
147 ZEND_ARG_INFO(0, constant_name) in ZEND_END_ARG_INFO()

Completed in 17 milliseconds