note 10910 deleted from function.is-integer by zak
| From: | zak@php.net | Date: | Tue, 11 Sep 2001 16:38:41 +0000 |
| Subject: | note 10910 deleted from function.is-integer by zak | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-17912@lists.php.net to get a copy of this message | ||
The "$var += 0" method assumes that zero is not a valid value. is_numeric() is the way to
go.