note 34422 added to function.ctype-digit

From: Date: Sat, 26 Jul 2003 17:46:09 +0000
Subject: note 34422 added to function.ctype-digit
Groups: php.notes 
Request: Send a blank email to php-notes+get-52716@lists.php.net to get a copy of this message
Dear Capitan Hook it gives you TRUE because it's TRUE. An empty numeric variable is consider zero and zero is a number. According to that the example is OK. ---- Manual Page -- http://www.php.net/manual/en/function.ctype-digit.php Edit Note -- http://master.php.net/manage/user-notes.php?action=edit+34422 Delete Note -- http://master.php.net/manage/user-notes.php?action=delete+34422&report=yes Reject Note -- http://master.php.net/manage/user-notes.php?action=reject+34422&report=yes

« previous php.notes (#52716) next »