Re: package proposals: Error_Raise and Error_Handler
| From: | Greg Beaver | Date: | Mon, 18 Aug 2003 14:41:53 +0000 |
| Subject: | Re: package proposals: Error_Raise and Error_Handler | ||
| References: | 1 2 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-19990@lists.php.net to get a copy of this message | ||
Stefan Walk wrote:
On Mon, Aug 18, 2003 at 08:46:24AM +0200, LIMBOURG Arnaud wrote:? it does? :). I use the word "exception" but that is not a ZE2 features. Error_Raise relies on PEAR_Errors' little eval("throw $this") to do any ZE2 work.I thought so ;) And yes, he's done a great job (i read the arlier doc on which he was still working). Arnaud.It looks nice, the only strange thing i saw that it uses ZE2 features
(exceptions) but won't work with ZE2, but that could be fixed easily i guess (return Class::method() in function &name() - that will produce a fatal error like "only variables or references may be returned by reference" in ZE2).This is a bug in ZE2, Zeev has said he will fix it for the final release, fyi. He also states that it creates instability in PHP 4, and should not be used, I'll look for that stuff and fix it. Greg