note 80923 deleted from language.types.integer by googleguy
| From: | googleguy@php.net | Date: | Sat, 19 Jan 2013 03:40:46 +0000 |
| Subject: | note 80923 deleted from language.types.integer by googleguy | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-193218@lists.php.net to get a copy of this message | ||
Note Submitter: Elliott Brueggeman
----
Don't forget about the integer minimum value. From my experimentation, the lowest valid integer
is (PHP_INT_MAX * -1)-1. All values smaller than this fail the is_int() test, even though the may
appear to act normally during mathematic operations. More info on this: http://www.ebrueggeman.com/blog/php/integers-and-floating-numbers/