File tree 1 file changed +5
-3
lines changed
1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -26,6 +26,11 @@ PHP 8.4 UPGRADE NOTES
26
26
Consult sections 2. New Features and 6. New Functions for a list of
27
27
newly implemented methods and constants.
28
28
29
+ - Standard:
30
+ . round() now validates the value of the $mode parameter and throws a ValueError
31
+ for invalid modes. Previously invalid modes would have been interpreted as
32
+ PHP_ROUND_HALF_UP.
33
+
29
34
========================================
30
35
2. New Features
31
36
========================================
@@ -58,9 +63,6 @@ PHP 8.4 UPGRADE NOTES
58
63
would have resulted in 1.0 instead of the correct result 0.0. Additional
59
64
inputs might also be affected and result in different outputs compared to
60
65
earlier PHP versions.
61
- . round() now validates the value of the $mode parameter and throws a ValueError
62
- for invalid modes. Previously invalid modes would have been interpreted as
63
- PHP_ROUND_HALF_UP.
64
66
65
67
========================================
66
68
6. New Functions
You can’t perform that action at this time.
0 commit comments