note 14879 added to function.is-long.php
| From: | asd at suespammers dot org | Date: | Sun, 19 Aug 2001 07:34:38 +0000 |
| Subject: | note 14879 added to function.is-long.php | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-16880@lists.php.net to get a copy of this message | ||
<p>Remember the is_long and friends return false for strings --- even if those strings happen
to LOOK like integers. You'll have to do something along the lines of a regexp match to
determine if a string is really an integer.</p>
http://www.php.net/manual/en/function.is-long.php