diff --git a/NEWS b/NEWS index 5565c601c2c60..140b282c58e33 100644 --- a/NEWS +++ b/NEWS @@ -170,6 +170,7 @@ PHP NEWS . Add support for 4 new rounding modes to the round() function. (Jorg Sowa) . debug_zval_dump() now indicates whether an array is packed. (Max Semenik) . Fix GH-12143 (Optimize round). (SakiTakamachi) + . Changed return type of long2ip to string from string|false. (Jorg Sowa) - XML: . Added XML_OPTION_PARSE_HUGE parser option. (nielsdos) diff --git a/UPGRADING b/UPGRADING index 4b2e14fb5ae70..d445d1b1361ff 100644 --- a/UPGRADING +++ b/UPGRADING @@ -364,6 +364,7 @@ PHP 8.4 UPGRADE NOTES decimal number and round it to 0.29. However, "pre-rounding" incorrectly rounds certain numbers, so this fix removes "pre-rounding" and changes the way numbers are compared, so that the values ​​are correctly rounded as decimal numbers. + . long2ip() now returns string instead of string|false. ======================================== 6. New Functions