note 81444 deleted from function.is-numeric by nlopess
| From: | nlopess@php.net | Date: | Thu, 28 Feb 2008 20:24:01 +0000 |
| Subject: | note 81444 deleted from function.is-numeric by nlopess | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-136572@lists.php.net to get a copy of this message | ||
Note Submitter: pga
----
You can check first character much simpler:
function first_char_numeric($str)
{
return is_numeric($str[0]);
}