File tree 2 files changed +15
-0
lines changed 2 files changed +15
-0
lines changed Original file line number Diff line number Diff line change 13
13
Intl:
14
14
. Added IntlDateFormatter::PATTERN constant. (David Carlier)
15
15
16
+ SimpleXML:
17
+ . Fixed bug GH-12192 (SimpleXML infinite loop when getName() is called
18
+ within foreach). (nielsdos)
19
+ . Fixed bug GH-12208 (SimpleXML infinite loop when a cast is used inside a
20
+ foreach). (nielsdos)
21
+ . Fixed bug #55098 (SimpleXML iteration produces infinite loop). (nielsdos)
22
+
16
23
Standard:
17
24
. Implement GH-12188 (Indication for the int size in phpinfo()). (timwolla)
18
25
. Partly fix GH-12143 (Incorrect round() result for 0.49999999999999994).
Original file line number Diff line number Diff line change @@ -26,6 +26,14 @@ PHP 8.4 UPGRADE NOTES
26
26
Consult sections 2. New Features and 6. New Functions for a list of
27
27
newly implemented methods and constants.
28
28
29
+ - SimpleXML:
30
+ . Get methods called, or casting to a string on a SimpleXMLElement will no
31
+ longer implicitly reset the iterator data, unless explicitly rewound.
32
+ For example, casting an element to a string within a foreach loop would
33
+ cause an infinite loop because it destroyed the current iterator data.
34
+ This is no longer the case as a consequence of the bugfixes for GH-12192,
35
+ GH-12208, #55098.
36
+
29
37
- Standard:
30
38
. round() now validates the value of the $mode parameter and throws a ValueError
31
39
for invalid modes. Previously invalid modes would have been interpreted as
You can’t perform that action at this time.
0 commit comments