On Tue, 29 Nov 2005 12:53:47 -0500, "Sara Golemon" <[EMAIL PROTECTED]> wrote:

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

PHP lets you get away without worrying about types often enough that people slip up on this. I don't know if most PHP users care if the value of a variable is a "4" or a 4 but yes, it's easy enough to get around.



--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to