note 82828 deleted from function.is-numeric by felipe
| From: | felipe@php.net | Date: | Mon, 28 Apr 2008 11:17:48 +0000 |
| Subject: | note 82828 deleted from function.is-numeric by felipe | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-138863@lists.php.net to get a copy of this message | ||
Note Submitter: info at it-wiens dot de
----
This is a reply to www.kigoobe.com,
your regular expression is not working correctly.
Example: If you have something (maybe user input) like $mynumber="-,-3" your regular
expression would return: $mynumber is a number, but that's wrong...