Re: [PHP] PEAR_Exception PEAR_Error

2008-05-28 Thread Chris
Al wrote: I'm using the pear class Mail_RFC822::parseAddressList() which apparently only throws an error_object for PEAR_Error. The manual says that PEAR_Error is deprecated, so I'd like to use PEAR_Exception; but; am having trouble getting it to recognize the error. Probably better to ask

Re: [PHP] PEAR_Exception PEAR_Error

2008-05-28 Thread Richard Heyes
I'm using the pear class Mail_RFC822::parseAddressList() which apparently only throws an error_object for PEAR_Error. You might want to consider the filter_var() function if you can - it will be much faster. The manual says that PEAR_Error is deprecated, so I'd like to use PEAR_Exception;

Re: [PHP] PEAR_Exception PEAR_Error

2008-05-28 Thread Al
filter_var() is an excellent suggestion and works great. Richard Heyes wrote: I'm using the pear class Mail_RFC822::parseAddressList() which apparently only throws an error_object for PEAR_Error. You might want to consider the filter_var() function if you can - it will be much faster. The

[PHP] PEAR_Exception PEAR_Error

2008-05-27 Thread Al
I'm using the pear class Mail_RFC822::parseAddressList() which apparently only throws an error_object for PEAR_Error. The manual says that PEAR_Error is deprecated, so I'd like to use PEAR_Exception; but; am having trouble getting it to recognize the error. Can anyone help me with this? --