ID: 13114
Updated by: rasmus
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] [EMAIL PROTECTED]

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

PHP Development Mailing List <>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to