Skip to content

Commit 28080dc

Browse files
SakiTakamachicmb69
andauthored
round(): Corrected test name and fixed UPGRADING (#14943)
Co-authored-by: Christoph M. Becker <cmbecker69@gmx.de>
1 parent 7fd54f9 commit 28080dc

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

UPGRADING

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -580,8 +580,9 @@ PHP 8.4 UPGRADE NOTES
580580
decimal number and round it to 0.29. However, "pre-rounding" incorrectly rounds
581581
certain numbers, so this fix removes "pre-rounding" and changes the way numbers
582582
are compared, so that the values are correctly rounded as decimal numbers.
583-
. The maximum precision that can be handled by round() has been extended by
584-
one digit.
583+
. The maximum precision that can be handled by round() has been extended by one
584+
digit. For example, `round(4503599627370495.5)` returned in `4503599627370495.5`,
585+
but now returns `4503599627370496`.
585586
. The default value of the 'cost' option for PASSWORD_BCRYPT for password_hash()
586587
has been increased from '10' to '12'.
587588

0 commit comments

Comments
 (0)