[php-src] PR #19323: Fix stale nInternalPosition on rehashing
| From: | iluuu1994 | Date: | Wed, 30 Jul 2025 22:33:50 +0000 |
| Subject: | [php-src] PR #19323: Fix stale nInternalPosition on rehashing | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-32722@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/19323
Author: iluuu1994
Since GH-13188 we're no longer immediately updating iterator positions when deleting array
elements. zend_hash_rehash() needs to adapt accordingly by adjusting nInternalPosition for IS_UNDEF
elements. This is already the case for array iterators.
Fixes GH-19280