Searched refs:constant_name (Results 1 – 6 of 6) sorted by relevance
/PHP-8.0/Zend/tests/ |
H A D | bug44827.phpt | 20 define(): Argument #1 ($constant_name) cannot be a class constant 21 define(): Argument #1 ($constant_name) cannot be a class constant
|
H A D | 008.phpt | 33 TypeError: define(): Argument #1 ($constant_name) must be of type string, array given
|
/PHP-8.0/Zend/ |
H A D | zend_constants.c | 346 zend_string *constant_name = zend_string_init(colon + 1, const_name_len, 0); in zend_get_constant_ex() local 377 c = zend_hash_find_ptr(&ce->constants_table, constant_name); in zend_get_constant_ex() 380 …zend_throw_error(NULL, "Undefined constant %s::%s", ZSTR_VAL(class_name), ZSTR_VAL(constant_name)); in zend_get_constant_ex() 387 …, zend_visibility_string(Z_ACCESS_FLAGS(c->value)), ZSTR_VAL(class_name), ZSTR_VAL(constant_name)); in zend_get_constant_ex() 399 … "Cannot declare self-referencing constant %s::%s", ZSTR_VAL(class_name), ZSTR_VAL(constant_name)); in zend_get_constant_ex() 415 zend_string_efree(constant_name); in zend_get_constant_ex() 424 const char *constant_name = colon + 1; in zend_get_constant_ex() local 435 memcpy(lcname + prefix_len + 1, constant_name, const_name_len + 1); in zend_get_constant_ex() 443 c = zend_get_constant_str_impl(constant_name, const_name_len); in zend_get_constant_ex()
|
H A D | zend_builtin_functions.stub.php | 26 function define(string $constant_name, $value, bool $case_insensitive = false): bool {} argument 28 function defined(string $constant_name): bool {} argument
|
H A D | zend_builtin_functions_arginfo.h | 41 ZEND_ARG_TYPE_INFO(0, constant_name, IS_STRING, 0) 47 ZEND_ARG_TYPE_INFO(0, constant_name, IS_STRING, 0)
|
/PHP-8.0/tests/lang/ |
H A D | bug44827.phpt | 23 define(): Argument #1 ($constant_name) cannot be a class constant
|
Completed in 9 milliseconds