1
0
mirror of https://github.com/php/php-src.git synced 2026-04-08 00:22:52 +02:00
Files
archived-php-src/ext
Ilija Tovilo 66ce205718 Fix incorrect zval type_flags in preg_replace_callback_array() for immutable arrays
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
2023-03-31 14:41:41 +02:00
..
2022-06-25 07:39:55 +01:00
2023-03-29 10:06:00 +01:00
2022-07-27 12:13:32 +02:00
2023-03-01 23:02:03 +01:00
2022-09-13 11:33:09 +01:00
2022-04-25 14:29:44 +02:00
2023-03-27 16:33:36 +02:00
2023-03-27 16:33:36 +02:00
2022-06-13 14:43:51 +02:00
2022-12-18 23:20:29 -07:00
2023-03-27 16:33:36 +02:00
2022-10-13 16:00:36 +02:00
2021-08-18 16:39:36 +02:00
2023-03-01 23:02:03 +01:00
2023-03-27 16:33:36 +02:00
2023-03-13 12:36:59 +01:00
2022-06-15 15:39:00 +02:00