note 69736 deleted from function.ctype-alpha by nlopess
| From: | nlopess@php.net | Date: | Tue, 19 Sep 2006 15:30:25 +0000 |
| Subject: | note 69736 deleted from function.ctype-alpha by nlopess | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-117317@lists.php.net to get a copy of this message | ||
Note Submitter: fisher at SPAMMENOT dot spadgos dot com
----
Interesting point to note:
<?php
// integers
ctype_alpha(1); // returns false
ctype_alpha(0); // returns false
ctype_alpha(-1); // returns true
// strings
ctype_alpha("-1"); // returns false
?>
Using PHP 4.3.11 on Windows/Apache