From 6ebbea4d5b8b681ab298b19b4e7abf49deefb708 Mon Sep 17 00:00:00 2001 From: Jorg Sowa Date: Fri, 16 Feb 2024 18:12:08 +0100 Subject: [PATCH 1/3] [skip ci] add entry on return type of long2ip to NEWS --- NEWS | 1 + 1 file changed, 1 insertion(+) diff --git a/NEWS b/NEWS index 5565c601c2c60..f7ced1a2a65b4 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 false. (Jorg Sowa) - XML: . Added XML_OPTION_PARSE_HUGE parser option. (nielsdos) From ff42273bd0e7ea5d9c807b13d648c27de5a09177 Mon Sep 17 00:00:00 2001 From: Jorg Sowa Date: Fri, 16 Feb 2024 18:24:17 +0100 Subject: [PATCH 2/3] [skip ci] improved mistake --- NEWS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/NEWS b/NEWS index f7ced1a2a65b4..140b282c58e33 100644 --- a/NEWS +++ b/NEWS @@ -170,7 +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 false. (Jorg Sowa) + . Changed return type of long2ip to string from string|false. (Jorg Sowa) - XML: . Added XML_OPTION_PARSE_HUGE parser option. (nielsdos) From 1f05e2a8c609f3d5d9c669761622b643a17854a4 Mon Sep 17 00:00:00 2001 From: Jorg Sowa Date: Fri, 16 Feb 2024 18:24:38 +0100 Subject: [PATCH 3/3] [skip ci] added entry to UPGRADING --- UPGRADING | 1 + 1 file changed, 1 insertion(+) 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