File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -559,8 +559,10 @@ PHP 8.4 UPGRADE NOTES
559
559
certain numbers, so this fix removes "pre-rounding" and changes the way numbers
560
560
are compared, so that the values are correctly rounded as decimal numbers.
561
561
. long2ip() now returns string instead of string|false.
562
- . The maximum precision that can be handled by round() has been extended by
563
- one digit.
562
+ . The maximum precision that can be handled by round() has been extended by one
563
+ digit. For example, if rounded 4503599627370495.5 with precision -1, would expect
564
+ it to result in 4503599627370496, but previously this was not the case and no
565
+ rounding was done.
564
566
. output_add_rewrite_var() now uses url_rewriter.hosts instead of
565
567
session.trans_sid_hosts for selecting hosts that will be rewritten.
566
568
@@ -801,7 +803,7 @@ PHP 8.4 UPGRADE NOTES
801
803
. P_GID (NetBSD/FreeBSD only).
802
804
. P_SID (NetBSD/FreeBSD only).
803
805
. P_JAILID (FreeBSD only).
804
-
806
+
805
807
- Standard:
806
808
. PHP_ROUND_CEILING.
807
809
. PHP_ROUND_FLOOR.
You can’t perform that action at this time.
0 commit comments