[PATCH] make "Call to a member function on a non-object" non-fatal
| From: | Morten Poulsen | Date: | Fri, 23 May 2003 15:43:46 +0000 |
| Subject: | [PATCH] make "Call to a member function on a non-object" non-fatal | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-1931@lists.php.net to get a copy of this message | ||
Hi,
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.
Best regards,
Morten Poulsen
--
Morten Poulsen <morten+php@afdelingp.dk>
Attachment: [text/x-patch] patch-php-cvs-nonfatal.diff
Attachment: [text/x-patch] patch-php-cvs-nonfatal.diff