Re: Re: is_int/is_numeric possible bug
| From: | Sara Golemon | Date: | Tue, 29 Nov 2005 17:53:47 +0000 |
| Subject: | Re: Re: is_int/is_numeric possible bug | ||
| References: | 1 2 3 4 5 6 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-20853@lists.php.net to get a copy of this message | ||
is_numeric will test if it's a numeric string. Maybe is_int should do the same, but apparently it doesn't. What on earth for?If you want content, do is_numeric(). If you want type, do is_int().... Simple. -Sara