-
Notifications
You must be signed in to change notification settings - Fork 7.8k
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
Is PHP_ROUND_TOWARD_ZERO Supposed to Exist in Php8.4? #16701
Comments
Same result with:
|
There was a follow-up RFC to turn the constants into an enum: |
This is the second time this is asked. Perhaps the original RFC text should include a small snippet to refer when/where this was changed. |
Thank you for showing me how to move forward. |
For reference, first time apparently was #16446. |
Description
According to https://wiki.php.net/rfc/new_rounding_modes_to_round_function, it should. It doesn't seem to be present in a nightly upload of Php8.4. For now, I just need to know if it has a new name, or if it has been decided not to proceed with this change in Php 8.4, or if there's just something wrong with the version I'm using.
The following code:
Resulted in this output:
But I expected this output instead:
PHP Version
PHP 8.4 nightly
Operating System
Windows 11
The text was updated successfully, but these errors were encountered: