note 17819 deleted from function.is-numeric by zak
| From: | zak@php.net | Date: | Thu, 27 Dec 2001 11:08:23 +0000 |
| Subject: | note 17819 deleted from function.is-numeric by zak | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-23876@lists.php.net to get a copy of this message | ||
Couldn't you just do:
$is_num = $string * 0;
if($is_num == 0) {
// is number
}