mirror of
https://github.com/php/php-src.git
synced 2026-03-24 00:02:20 +01:00
round(): Corrected test name and fixed UPGRADING (#14943)
Co-authored-by: Christoph M. Becker <cmbecker69@gmx.de>
This commit is contained in:
@@ -580,8 +580,9 @@ PHP 8.4 UPGRADE NOTES
|
||||
decimal number and round it to 0.29. However, "pre-rounding" incorrectly rounds
|
||||
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.
|
||||
. The maximum precision that can be handled by round() has been extended by
|
||||
one digit.
|
||||
. The maximum precision that can be handled by round() has been extended by one
|
||||
digit. For example, `round(4503599627370495.5)` returned in `4503599627370495.5`,
|
||||
but now returns `4503599627370496`.
|
||||
. The default value of the 'cost' option for PASSWORD_BCRYPT for password_hash()
|
||||
has been increased from '10' to '12'.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user