note 35761 added to function.is-string

From: Date: Sat, 13 Sep 2003 14:21:02 +0000
Subject: note 35761 added to function.is-string
Groups: php.notes 
Request: Send a blank email to php-notes+get-56446@lists.php.net to get a copy of this message
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. ---- Manual Page -- http://www.php.net/manual/en/function.is-string.php Edit Note -- http://master.php.net/manage/user-notes.php?action=edit+35761 Delete Note -- http://master.php.net/manage/user-notes.php?action=delete+35761&report=yes Reject Note -- http://master.php.net/manage/user-notes.php?action=reject+35761&report=yes

« previous php.notes (#56446) next »