Bug #13114 Updated: User defined error-handler seems to miss some types of errors

From: Date: Mon, 03 Sep 2001 18:24:20 +0000
Subject: Bug #13114 Updated: User defined error-handler seems to miss some types of errors
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-64989@lists.php.net to get a copy of this message
ID: 13114 Updated by: rasmus Reported By: mikkelj@acm.org Old Status: Open Status: Closed Bug Type: Feature/Change Request Operating System: Linux PHP Version: 4.0.6 New Comment: Fatal errors are by definition not catchable in user space since they are a result of some fatal problem which would put us in a state where we can no longer reliably run any user-space code. Previous Comments: ------------------------------------------------------------------------ [2001-09-03 14:03:39] mikkelj@acm.org When defining ones own error handler function using set_error_handler(), it seems that not all kinds of errors are passed to the function. I have experienced the following errors (apparently of type E_ERROR - fatal errors) being handled by PHP's built-in error handler even though I have set a user defined error handler: - Fatal error: Call to a member function on a non-object - Fatal error: Call to undefined function: some_function() Note: I have tried setting error_reporting(E_ALL) as well as error_reporting(0). Please respond for further information, if necessary. ------------------------------------------------------------------------ Edit this bug report at http://bugs.php.net/?id=13114&edit=1

« previous php.dev (#64989) next »