[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 07:53: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-239756@lists.php.net to get a copy of this message | ||
Issue: https://github.com/php/php-src/issues/8079
Comment Author: dstogov
We think by a bit different categories. You see a bug and like to fix the engine, I see a buggy
class that works against the engine expectations. It makes tricks to reuse properties for something
else (does this improperly) and expects the engine to be fixed. I think, the problem should be fixed
in the class itself. If it recreates properties table on each call to
`
get_properties()` let it protects from recursion itself.