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 @@ -26,6 +26,11 @@ PHP 8.4 UPGRADE NOTES
2626 Consult sections 2. New Features and 6. New Functions for a list of
2727 newly implemented methods and constants.
2828
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+
2934========================================
30352. New Features
3136========================================
@@ -58,9 +63,6 @@ PHP 8.4 UPGRADE NOTES
5863 would have resulted in 1.0 instead of the correct result 0.0. Additional
5964 inputs might also be affected and result in different outputs compared to
6065 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.
6466
6567========================================
66686. New Functions
You can’t perform that action at this time.
0 commit comments