Re: Richard Lynch's Email Address ...
| From: | James Benson | Date: | Wed, 02 Nov 2005 21:22:35 +0000 |
| Subject: | Re: Richard Lynch's Email Address ... | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-224996@lists.php.net to get a copy of this message | ||
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