note 126830 added to language.operators.arithmetic
| From: | Anonymous at main dot php dot net | Date: | Sun, 06 Feb 2022 12:19:19 +0000 |
| Subject: | note 126830 added to language.operators.arithmetic | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-217584@lists.php.net to get a copy of this message | ||
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.
----
Server IP: 45.112.84.4
Probable Submitter: 80.90.5.135 (proxied: 67.149.9.21)
----
Manual Page -- https://php.net/manual/en/language.operators.arithmetic.php
Edit -- https://main.php.net/note/edit/126830
Del: integrated -- https://main.php.net/note/delete/126830/integrated
Del: useless -- https://main.php.net/note/delete/126830/useless
Del: bad code -- https://main.php.net/note/delete/126830/bad+code
Del: spam -- https://main.php.net/note/delete/126830/spam
Del: non-english -- https://main.php.net/note/delete/126830/non-english
Del: in docs -- https://main.php.net/note/delete/126830/in+docs
Del: other reasons-- https://main.php.net/note/delete/126830
Reject -- https://main.php.net/note/reject/126830
Search -- https://main.php.net/manage/user-notes.php