Skip to content

Commit d299518

Browse files
committed
NEWS / UPGRADING
1 parent 703ead5 commit d299518

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

NEWS

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,8 @@ PHP NEWS
188188
. debug_zval_dump() now indicates whether an array is packed. (Max Semenik)
189189
. Fix GH-12143 (Optimize round). (SakiTakamachi)
190190
. Changed return type of long2ip to string from string|false. (Jorg Sowa)
191+
. Fix GH-12143 (Extend the maximum precision round can handle by one digit).
192+
(SakiTakamachi)
191193

192194
- XML:
193195
. Added XML_OPTION_PARSE_HUGE parser option. (nielsdos)

UPGRADING

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -381,6 +381,8 @@ PHP 8.4 UPGRADE NOTES
381381
certain numbers, so this fix removes "pre-rounding" and changes the way numbers
382382
are compared, so that the values ​​are correctly rounded as decimal numbers.
383383
. long2ip() now returns string instead of string|false.
384+
. The maximum precision that can be handled by round() has been extended by
385+
one digit.
384386

385387
========================================
386388
6. New Functions

0 commit comments

Comments
 (0)