note 121865 deleted from function.intval by cmb
| From: | cmb@php.net | Date: | Sun, 16 Feb 2020 13:54:52 +0000 |
| Subject: | note 121865 deleted from function.intval by cmb | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-214158@lists.php.net to get a copy of this message | ||
Note Submitter: Nibs Niven
----
The example is wrong for PHP 7.1
intval('1e10') does not return 1 as the example states, it returns 10000000000. This has
broken at least one library I know of (BEncodeLib).