Re: Re: Richard Lynch's Email Address ...
| From: | Jochem Maas | Date: | Wed, 02 Nov 2005 23:12:36 +0000 |
| Subject: | Re: Re: Richard Lynch's Email Address ... | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-225003@lists.php.net to get a copy of this message | ||
James Benson wrote:
Would it not be better something like valid_email()sounds fine. call it what you like. :-)
Reason: The is_* family check for a variable type so dont think that it really fits into the same catagory.twas a long shot ;-)
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