Skip to content

round(): Corrected test name and fixed UPGRADING #14943

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jul 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions UPGRADING
Original file line number Diff line number Diff line change
Expand Up @@ -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'.

Expand Down
Loading