Re: [PATCH] make "Call to a member function on a non-object" non-fatal
| From: | Derick Rethans | Date: | Fri, 23 May 2003 16:45:27 +0000 |
| Subject: | Re: [PATCH] make "Call to a member function on a non-object" non-fatal | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-1934@lists.php.net to get a copy of this message | ||
On Fri, 23 May 2003, Morten Poulsen wrote:
> The attached patch (against zend_execute.c 1.316.2.10) changes a "Call
> to a member function on a non-object" from E_ERROR to E_WARNING so it
> can be handled by a "user space" error handler.
It should fail, E_ERROR is just fine.
Derick
--
"my other box is your windows PC"
-------------------------------------------------------------------------
Derick Rethans http://derickrethans.nl/
International PHP Magazine http://php-mag.net/
-------------------------------------------------------------------------