note 115567 deleted from function.is-numeric by salathe
| From: | salathe@php.net | Date: | Fri, 22 Aug 2014 08:14:11 +0000 |
| Subject: | note 115567 deleted from function.is-numeric by salathe | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-200274@lists.php.net to get a copy of this message | ||
Note Submitter: rajvanshipradeep15 at gmail dot com
----
is_numeric fails when we enter a digit followed by any alphabet.
Example
if( true == is_numeric(3er3454) ) {
echo "Input is numeric.";
}
output: Input is numeric