[php-src] PR #11812: Zend guard recursion protection
| From: | bukka | Date: | Fri, 28 Jul 2023 10:26:16 +0000 |
| Subject: | [php-src] PR #11812: Zend guard recursion protection | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-23187@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/11812
Author: bukka
This PR introduces a new way of recursion protection in JSON, var_dump and friends. This is
alternative solution for what was done in #10020 and specifically implements the solution suggested
by Dmitry in https://github.com/php/php-src/pull/10020#issuecomment-1485052121
. More info can be find in that PR so I will not repeat it all here. As mentioned there, it fixes
issue in master for __debugInfo and also improves perf for jsonSerializable in some cases.