Hi Curt,

El mi? 07-04-2004 a las 10:29, Curt Zirzow escribió:
> * Thus wrote William Lovaton ([EMAIL PROTECTED]):
> > 
> > or modify is_numeric() to explictly perform an integer validation:
> > is_numeric(mixed value [, bool is_integer = false])
> 
> um.. ctype_digit().

Very nice! it works fine.  The only issue is that it will return true if
the parameter is an empty string ("").  Nothing that an empty() can't
fix.


-William

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

Reply via email to