Re: [PATCH] make "Call to a member function on a non-object" non-fatal
| From: | Andrei Zmievski | Date: | Fri, 23 May 2003 16:48:00 +0000 |
| Subject: | Re: [PATCH] make "Call to a member function on a non-object" non-fatal | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-1935@lists.php.net to get a copy of this message | ||
On Fri, 23 May 2003, Per Lundberg wrote:
> I think this patch is bad. It distorts the control flow of a normal
> program. Calling member functions on a non-object is a serious error,
> so the only real option IMO is dying, or throwing an exception.
I agree.
-Andrei
* I wish life had an UNDO function. *