RE: [PEAR-DEV] Mail/mimeDecode.php
| From: | Chuck Hagenbuch | Date: | Tue, 04 Sep 2001 15:39:58 +0000 |
| Subject: | RE: [PEAR-DEV] Mail/mimeDecode.php | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-1785@lists.php.net to get a copy of this message | ||
Quoting Richard Heyes <richard.heyes@web-ideas.com>:
> 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?
Actually, no. We use it because the c-client implementation is deficient and
pedantic in a few annoying ways.
> 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.
Ick.
(not a useful reply, I know, but it's all I have time for right now).
There are times when Java, having a standard class library and way of extending
it, seems _so_ attractive.
-chuck
--
Charles Hagenbuch, <chuck@horde.org>
Some fallen angels have their good reasons.