[php-src] PR #16272: Fix GH-16261: Reference invariant broken in mb_convert_variables()
| From: | nielsdos | Date: | Sun, 06 Oct 2024 18:00:38 +0000 |
| Subject: | [php-src] PR #16272: Fix GH-16261: Reference invariant broken in mb_convert_variables() | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-29056@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/16272
Author: nielsdos
The behaviour is weird in the sense that the reference must get unwrapped. What ended up happening
is that when destroying the old reference the sources list was not cleaned properly. We add handling
for that. Normally we would use use ZEND_TRY_ASSIGN_STRINGL but that doesn't work here as it
would keep the reference and change values through references (see bug #26639).