mirror of
https://github.com/php/php-src.git
synced 2024-09-21 09:57:23 +00:00
Merge branch 'PHP-8.3'
* PHP-8.3: Apply SimpleXML iterator fixes only on master
This commit is contained in:
commit
3e29332a5c
7
NEWS
7
NEWS
@ -13,6 +13,13 @@ DOM:
|
||||
Intl:
|
||||
. Added IntlDateFormatter::PATTERN constant. (David Carlier)
|
||||
|
||||
SimpleXML:
|
||||
. Fixed bug GH-12192 (SimpleXML infinite loop when getName() is called
|
||||
within foreach). (nielsdos)
|
||||
. Fixed bug GH-12208 (SimpleXML infinite loop when a cast is used inside a
|
||||
foreach). (nielsdos)
|
||||
. Fixed bug #55098 (SimpleXML iteration produces infinite loop). (nielsdos)
|
||||
|
||||
Standard:
|
||||
. Implement GH-12188 (Indication for the int size in phpinfo()). (timwolla)
|
||||
. Partly fix GH-12143 (Incorrect round() result for 0.49999999999999994).
|
||||
|
@ -26,6 +26,14 @@ PHP 8.4 UPGRADE NOTES
|
||||
Consult sections 2. New Features and 6. New Functions for a list of
|
||||
newly implemented methods and constants.
|
||||
|
||||
- SimpleXML:
|
||||
. Get methods called, or casting to a string on a SimpleXMLElement will no
|
||||
longer implicitly reset the iterator data, unless explicitly rewound.
|
||||
For example, casting an element to a string within a foreach loop would
|
||||
cause an infinite loop because it destroyed the current iterator data.
|
||||
This is no longer the case as a consequence of the bugfixes for GH-12192,
|
||||
GH-12208, #55098.
|
||||
|
||||
- Standard:
|
||||
. round() now validates the value of the $mode parameter and throws a ValueError
|
||||
for invalid modes. Previously invalid modes would have been interpreted as
|
||||
|
Loading…
Reference in New Issue
Block a user