RE: [PEAR-DEV] Mail/mimeDecode.php
| From: | Richard Heyes | Date: | Tue, 04 Sep 2001 15:34:00 +0000 |
| Subject: | RE: [PEAR-DEV] Mail/mimeDecode.php | ||
| Groups: | php.pear.dev | ||
| Request: | Send a blank email to pear-dev+get-1781@lists.php.net to get a copy of this message | ||
> Quoting Marc Logemann <logenews1@morelogs.de>:
>
> > But the problem is, that this is also an extension.
>
> This is a dangerous line of thinking. I don't think it's very
> healthy to go
> around re-implementing everything that sophisticated c
> libraries do in php user-
> space - it's a lot of duplicated effort, it's _slow_ ...
>
> -chuck
Very valid reasons. However, having php versions available makes the
functionality available, albeit more limited and slower, to users
without the appropriate extensions. This, imo, is a very good reason to
have them available. You use the Mail_RFC822 class in your Horde code
presumably for this reason?
I think maybe a good idea to try and get people to use the extensions is
to code in such a way that classes such as this use the extension
function(s) if it is there (function_exists()), and have warning
messages in either the docs or at the top of the class, or both.
--
Richard Heyes