diff --git a/NEWS b/NEWS index 07b5c628eac..625241d9e1f 100644 --- a/NEWS +++ b/NEWS @@ -188,6 +188,8 @@ PHP NEWS . 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) + . Fix GH-12143 (Extend the maximum precision round can handle by one digit). + (SakiTakamachi) - XML: . Added XML_OPTION_PARSE_HUGE parser option. (nielsdos) diff --git a/UPGRADING b/UPGRADING index f2db62e1f76..424570a109f 100644 --- a/UPGRADING +++ b/UPGRADING @@ -381,6 +381,8 @@ PHP 8.4 UPGRADE NOTES 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. + . The maximum precision that can be handled by round() has been extended by + one digit. ======================================== 6. New Functions