No, as this would be yet another line of source. Maybe get those guys
to add another function

ctype_digit_and_not_empty();

 -- red

[...]
> > * 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.
[...]

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

Reply via email to