mirror of
https://github.com/php/php-src.git
synced 2025-08-15 13:38:49 +02:00
Rename ZEND_STR_DEPRECATED
to ZEND_STR_DEPRECATED_CAPITALIZED
(#15831)
To match other capitalized strings like `ZEND_STR_UNKNOWN_CAPITALIZED` and `ZEND_STR_ARRAY_CAPITALIZED`. Since this known string was only added in PHP 8.4, no backwards compatibility alias is needed.
This commit is contained in:
parent
7c2204c915
commit
db545767e5
20 changed files with 81 additions and 81 deletions
2
ext/random/random_arginfo.h
generated
2
ext/random/random_arginfo.h
generated
|
@ -229,7 +229,7 @@ static void register_random_symbols(int module_number)
|
|||
REGISTER_LONG_CONSTANT("MT_RAND_PHP", MT_RAND_PHP, CONST_PERSISTENT | CONST_DEPRECATED);
|
||||
|
||||
|
||||
zend_attribute *attribute_Deprecated_func_lcg_value_0 = zend_add_function_attribute(zend_hash_str_find_ptr(CG(function_table), "lcg_value", sizeof("lcg_value") - 1), ZSTR_KNOWN(ZEND_STR_DEPRECATED), 2);
|
||||
zend_attribute *attribute_Deprecated_func_lcg_value_0 = zend_add_function_attribute(zend_hash_str_find_ptr(CG(function_table), "lcg_value", sizeof("lcg_value") - 1), ZSTR_KNOWN(ZEND_STR_DEPRECATED_CAPITALIZED), 2);
|
||||
zval attribute_Deprecated_func_lcg_value_0_arg0;
|
||||
zend_string *attribute_Deprecated_func_lcg_value_0_arg0_str = zend_string_init("8.4", strlen("8.4"), 1);
|
||||
ZVAL_STR(&attribute_Deprecated_func_lcg_value_0_arg0, attribute_Deprecated_func_lcg_value_0_arg0_str);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue