mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
![]() The ZVAL_ARR macro always set the zval type_info to IS_ARRAY_EX, even if the hash table is immutable. Since in preg_replace_callback_array() we can return the passed array directly, and that passed array can be immutable, we need to reset the type_flags to keep the VM from performing ref-counting on the array. Fixes GH-10968 Closes GH-10970 |
||
---|---|---|
.. | ||
pcre2lib | ||
tests | ||
config.w32 | ||
config0.m4 | ||
CREDITS | ||
php_pcre.c | ||
php_pcre.def | ||
php_pcre.h | ||
php_pcre.stub.php | ||
php_pcre_arginfo.h |