note 66469 added to function.ctype-digit
| From: | TeaRex at osu1 dot php dot net | Date: | Tue, 23 May 2006 15:08:48 +0000 |
| Subject: | note 66469 added to function.ctype-digit | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-111889@lists.php.net to get a copy of this message | ||
Note that cytype_digit("") returns TRUE. This becomes clear if you read the definition
closely -- anything is true about "all characters" in the empty string, since there is no
character about which it could be false. But it isn't all that obvious.
----
Server IP: 66.163.161.117
Probable Submitter: 84.130.37.17 (proxied: 172.26.28.130, 172.26.20.2)
----
X-Spam-Status: No, hits=3.1 required=5.0 tests=DATE_MISSING,FROM_NO_LOWER
autolearn=no version=2.64
----
Manual Page -- http://www.php.net/manual/en/function.ctype-digit.php
Edit -- http://master.php.net/note/edit/66469
Del: integrated -- http://master.php.net/note/delete/66469/integrated
Del: useless -- http://master.php.net/note/delete/66469/useless
Del: bad code -- http://master.php.net/note/delete/66469/bad+code
Del: spam -- http://master.php.net/note/delete/66469/spam
Del: non-english -- http://master.php.net/note/delete/66469/non-english
Del: in docs -- http://master.php.net/note/delete/66469/in+docs
Del: other reasons-- http://master.php.net/note/delete/66469
Reject -- http://master.php.net/note/reject/66469
Search -- http://master.php.net/manage/user-notes.php