note 30884 added to language.types.integer
| From: | olo at altkom dot com dot pl | Date: | Wed, 02 Apr 2003 10:23:20 +0000 |
| Subject: | note 30884 added to language.types.integer | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-46109@lists.php.net to get a copy of this message | ||
It's a pity there's no predefined constant that would specify maximum and minimum values
for integers.
The standard C library on all platforms has constants for this in limits.h, they are called INT_MAX
and INT_MIN, PHP could easily import this as predefined constants.
--
http://www.php.net/manual/en/language.types.integer.php
http://master.php.net/manage/user-notes.php?action=edit+30884
http://master.php.net/manage/user-notes.php?action=delete+30884
http://master.php.net/manage/user-notes.php?action=reject+30884