note 77472 deleted from reserved.constants by danbrown
| From: | danbrown@php.net | Date: | Sat, 13 Jun 2009 01:37:45 +0000 |
| Subject: | note 77472 deleted from reserved.constants by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-156835@lists.php.net to get a copy of this message | ||
Note Submitter: docey
----
a simple way of getting the minium allowed integer value is by adding 1 to the PHP_INT_MAX constant
value. it causes the signed integer to roll over from the maxium integer size to the minium integer
size.