How can I check to see if a string var holds a number?  Is regex the
only way to do this?  For example I have code where the var could hold
"10" or "ten".  If the string is a number, do one thing, if it isn't
do something else. is_int doesn't work, intval converts "ten" to a
number so that doesn't work....

Thanks!

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to