note 126830 deleted from language.operators.arithmetic by girgias
| From: | girgias@php.net | Date: | Mon, 07 Feb 2022 12:30:06 +0000 |
| Subject: | note 126830 deleted from language.operators.arithmetic by girgias | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-217586@lists.php.net to get a copy of this message | ||
Note Submitter: Anonymous
----
Floats used with / operator are now truncated before processing.
Example:
echo 7.34 % 3; // This will output: 1
PHP will print a deprecation notice since the / operator now truncates floats.