Re: [PATCH] make "Call to a member function on a non-object" non-fatal
| From: | Derick Rethans | Date: | Fri, 23 May 2003 22:42:40 +0000 |
| Subject: | Re: [PATCH] make "Call to a member function on a non-object" non-fatal | ||
| References: | 1 2 3 4 5 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-1955@lists.php.net to get a copy of this message | ||
On Sat, 24 May 2003, Morten Poulsen wrote:
> On Fri, 2003-05-23 at 23:57, Andrei Zmievski wrote:
> > Calling a member function on a null should not even happen in production
> > environment, if you architecture your application properly.
>
> Correct. "Should not," but they do.
We can not prevent everybody's mistakes. There are enough other ways to
shoot yourself in the knee.
Derick
--
"my other box is your windows PC"
-------------------------------------------------------------------------
Derick Rethans http://derickrethans.nl/
International PHP Magazine http://php-mag.net/
-------------------------------------------------------------------------