note 35761 deleted from function.is-string by vincent
| From: | vincent@php.net | Date: | Sat, 13 Sep 2003 14:24:29 +0000 |
| Subject: | note 35761 deleted from function.is-string by vincent | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-56447@lists.php.net to get a copy of this message | ||
Note Submitter: ansigo@msn.com
----
is_numeric() may not be such a useful function after all, if you want strictly numeric data.
It accepts hexadecimal numbers too, starting with 0x
So if you are concerned with numbers (only 0-9) like say phone numbers zip code then convert it in
decimal and then use it.