History log of /php-src/ext/simplexml/tests/bug55098.phpt (Results 1 – 2 of 2)
Revision Date Author Comments
# b842ea4f 28-Sep-2023 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

Apply SimpleXML iterator fixes only on master

Many methods in SimpleXML reset the iterator when called. This has the
consequence that mixing these operations with loops can cause infinit

Apply SimpleXML iterator fixes only on master

Many methods in SimpleXML reset the iterator when called. This has the
consequence that mixing these operations with loops can cause infinite
loops, or the loss of iteration data.
Some people may however rely on the resetting behaviour. To prevent
unintended breaks in stable branches, let's only apply the fix to master.

This reverts GH-12193, GH-12229, GG-12247 for stable branches while
keeping them on master, adding a note in UPGRADING as well.

show more ...


# 1a4e401b 19-Sep-2023 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

Fix bug #55098: SimpleXML iteration produces infinite loop

Closes GH-12247.