[php-src] PR #18004: Fix weird unpack behaviour in DOM
| From: | nielsdos | Date: | Sat, 08 Mar 2025 18:46:52 +0000 |
| Subject: | [php-src] PR #18004: Fix weird unpack behaviour in DOM | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-31005@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/18004
Author: nielsdos
Engine pitfall: the iter index is only updated by foreach opcodes, so the existing code that used it
as an index for the nodes w.r.t. the start did not work properly. Fix it by using our own counter.