note 85679 deleted from function.ctype-digit by philip
| From: | philip@php.net | Date: | Sun, 22 Feb 2009 21:15:06 +0000 |
| Subject: | note 85679 deleted from function.ctype-digit by philip | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-150971@lists.php.net to get a copy of this message | ||
Note Submitter: per dot zut at gmail dot com
----
reuvenab at gmail dot com
"Just be aware that
ctype_digit('') == 1"
I tested this.
<?php
var_dump(ctype_digit(''));
var_dump(phpversion());
?>
Result:
bool(false)
string(16) "5.2.4-2ubuntu5.3"