[php-src] Issue #8079: Recent patch to SplFixedArray causes array_walk + json encode to hang, circular var_export during gc to run out of memory
| From: | TysonAndre | Date: | Mon, 14 Feb 2022 19:10:34 +0000 |
| Subject: | [php-src] Issue #8079: Recent patch to SplFixedArray causes array_walk + json encode to hang, circular var_export during gc to run out of memory | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-239785@lists.php.net to get a copy of this message | ||
Issue: https://github.com/php/php-src/issues/8079
Comment Author: TysonAndre
> That's probably possible, assuming that in practice, it won't change while
> var_export/debug_zval_dump is called, barring any PECL classes that misbehave during
> handlers.get_properties (not aware of any).
>
> After modification calls such as offsetSet/offsetUnset/setSize, set a boolean or bit flag in
> SplFixedArray's implementation indicating the **array it stores** was modified