| Posted by Jochem Maas on 11/03/05 01:12 
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
 >
 >
  Navigation: [Reply to this message] |