[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: | dstogov | Date: | Mon, 14 Feb 2022 18:42:09 +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-239782@lists.php.net to get a copy of this message | ||
Issue: https://github.com/php/php-src/issues/8079
Comment Author: dstogov
Can SplFixedArray detect when it was changed and regenerate properties only in this case?
https://github.com/php/php-src/commit/52ae6417ca3e62eff796bf3e3b5662fe6a9ee085
fixes the incorrect usage of HashTable. We may revert it, but then we will get assertion in DEBUG
build and potential inconsistency in RELEASE.