Re: is_*
| From: | nicos@php.net | Date: | Thu, 14 Nov 2002 02:49:49 +0000 |
| Subject: | Re: is_* | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-91004@lists.php.net to get a copy of this message | ||
Okay, some of them are in ctype. But it should be easier to have them in
standard so basic user should use them. It would be as easy as is_numeric()
for instance...
M.CHAILLAN Nicolas
nicos@php.net
www.WorldAKT.com Hébergement de sites internets.
<nicos@php.net> a écrit dans le message de news:
20021114024656.96845.qmail@pb1.pair.com...
> Hello,
>
> After having helped many users, I just thought of new functions like
> is_alpha, is_alnum, is_valid_email() that we should make so the new user
can
> do valid form with good verification without knowing how ereg() or preg_*
> work. We should think about some another functions too...
>
> Any comment?
>
> P.S: they would be based on the same verification than ereg [[:alnum:]]
> etc..
>
> Regards.
>
> M.CHAILLAN Nicolas
> nicos@php.net
> www.WorldAKT.com Hébergement de sites internets.
>
>
>