Skip to content

Commit 492b9e0

Browse files
authored
Add entry on return type of long2ip to NEWS (#13408)
[skip ci] add entry on return type of long2ip to NEWS and to UPGRADING.
1 parent e7b1f2a commit 492b9e0

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

NEWS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,7 @@ PHP NEWS
175175
. Add support for 4 new rounding modes to the round() function. (Jorg Sowa)
176176
. debug_zval_dump() now indicates whether an array is packed. (Max Semenik)
177177
. Fix GH-12143 (Optimize round). (SakiTakamachi)
178+
. Changed return type of long2ip to string from string|false. (Jorg Sowa)
178179

179180
- XML:
180181
. Added XML_OPTION_PARSE_HUGE parser option. (nielsdos)

UPGRADING

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -364,6 +364,7 @@ PHP 8.4 UPGRADE NOTES
364364
decimal number and round it to 0.29. However, "pre-rounding" incorrectly rounds
365365
certain numbers, so this fix removes "pre-rounding" and changes the way numbers
366366
are compared, so that the values ​​are correctly rounded as decimal numbers.
367+
. long2ip() now returns string instead of string|false.
367368

368369
========================================
369370
6. New Functions

0 commit comments

Comments
 (0)