-
Notifications
You must be signed in to change notification settings - Fork 8k
Closed
Labels
Description
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:
<?php
echo PHP_ROUND_TOWARD_ZERO, "\n";
Resulted in this output:
Error: Undefined constant "PHP_ROUND_TOWARD_ZERO" in Command line code on line 1
But I expected this output instead:
Something other than an error message.
PHP Version
PHP 8.4 nightly
Operating System
Windows 11