Posted by James Benson on 11/02/05 23:22
Would it not be better something like valid_email()
Reason:
The is_* family check for a variable type so dont think that it really
fits into the same catagory.
James
Jochem Maas wrote:
> I totally agree with Richard. about the need for
> a php func for checking a correct email addr.
>
> given that php 'is all about the web', idealogically
> (still?) pragmatic and dynamically typed:
>
> is_email_addr() or is_email()
>
> just 'belongs' with:
>
> is_array()
> is_bool()
> is_callable()
> is_double()
> is_float()
> is_int()
> is_integer()
> is_long()
> is_null()
> is_numeric()
> is_object()
> is_real()
> is_resource()
> is_scalar()
> is_string()
>
> any devs care to comment?
>
> kind regards
Navigation:
[Reply to this message]
|