note 76202 added to function.is-int
| From: | tudor at tudorholton dot com | Date: | Thu, 05 Jul 2007 01:27:59 +0000 |
| Subject: | note 76202 added to function.is-int | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-128236@lists.php.net to get a copy of this message | ||
Please note this from the Integer datatype page:
"The size of an integer is platform-dependent, although a maximum value of about two billion is
the usual value (that's 32 bits signed). PHP does not support unsigned integers. Integer size
can be determined from PHP_INT_SIZE, maximum value from PHP_INT_MAX since PHP 4.4.0 and PHP
5.0.5."
This is particularly important if you are doing validation of large keys or any number larger than
2,000,000,000 (e.g. telephone numbers)
----
Server IP: 203.16.234.19
Probable Submitter: 218.214.132.30
----
Manual Page -- http://www.php.net/manual/en/function.is-int.php
Edit -- https://master.php.net/note/edit/76202
Del: integrated -- https://master.php.net/note/delete/76202/integrated
Del: useless -- https://master.php.net/note/delete/76202/useless
Del: bad code -- https://master.php.net/note/delete/76202/bad+code
Del: spam -- https://master.php.net/note/delete/76202/spam
Del: non-english -- https://master.php.net/note/delete/76202/non-english
Del: in docs -- https://master.php.net/note/delete/76202/in+docs
Del: other reasons-- https://master.php.net/note/delete/76202
Reject -- https://master.php.net/note/reject/76202
Search -- https://master.php.net/manage/user-notes.php