Re: PEAR framework changes for PHP5
| From: | Lukas Smith | Date: | Thu, 29 Jan 2004 08:44:41 +0000 |
| Subject: | Re: PEAR framework changes for PHP5 | ||
| References: | 1 2 | Groups: | php.pear.core |
| Request: | Send a blank email to pear-core+get-85@lists.php.net to get a copy of this message | ||
Pierre-Alain Joye wrote:
On Wed, 28 Jan 2004 23:17:20 +0100 Tobias Schlitt <tobias@schlitt.info> wrote:I agree with Pierre. To me a little step forward would be to move the error class out of PEAR.php and instead separate the the base and error class in separate files which are included in PEAR.php for BC. Then people can include only the Error class. Also this makes it possible to replace the error class. I remember that Richy and I have always been begging for an error stack instead of having to always return the pear error itself. When we begged we always heard wait for php5, then we will redesign the error stuff :-) regards, Lukas Smith smith@backendmedia.com _______________________________ BackendMedia www.backendmedia.com berlin@backendmedia.com Linn Zwoch Smith GbR Pariser Str. 44 D-10707 Berlin Tel +49 30 83 22 50 00 Fax +49 30 83 22 50 07Hi all! I did not find anything real about that on pear-dev and so for want to ask for the status of this? I guess the PEAR error handling should be switched to exceptions and stuff.Exceptions are not errors or should not be used as PEAR_Error is used now, at least in most cases. I'm not a fan of wide usage of excpetions. That results in a spagetthi mess most of the times ;)