mirror of
https://github.com/php/php-src.git
synced 2024-11-26 19:33:55 +08:00
7a8b1f683b
Instead of allocating, using, and then releasing a zend_string for every property name unconditionally, only do so when the minimum supported version of PHP does not have that string in its known strings (ZEND_KNOWN_STRINGS). If the string is already known, just use the known version directly. This is already done for some non-generated class registrations, e.g. in `zend_enum_register_props()`. |
||
---|---|---|
.. | ||
tests | ||
config.m4 | ||
config.w32 | ||
CREDITS | ||
php_tidy.def | ||
php_tidy.h | ||
tidy_arginfo.h | ||
tidy.c | ||
tidy.stub.php |