Re: Mail/mimeDecode.php
| From: | (Stig Sæther Bakken) | Date: | Wed, 05 Sep 2001 11:14:52 +0000 |
| Subject: | Re: Mail/mimeDecode.php | ||
| References: | 1 2 3 4 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-1808@lists.php.net to get a copy of this message | ||
[Chuck Hagenbuch <chuck@horde.org>]
> Quoting "Tomas V.V.Cox" <cox@idecnet.com>:
>
> > Why not:
> >
> > if (function_exists("mailparse_foo")) {
> > return mailparse_foo($data);
> > }
>
> If you rigidly adhere to the _exact_ same arguments and return
> values, this is fine.
It could even be done through a PHP extension (that you can't
disable!) that catches unknown function errors.
- Stig
--
Stig Sæther Bakken <ssb@alltheweb.com>
Fast Search & Transfer ASA, Trondheim, Norway