Re: set_error_handler() not catching some errors

From: Date: Sun, 10 Feb 2002 04:11:50 +0000
Subject: Re: set_error_handler() not catching some errors
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-84151@lists.php.net to get a copy of this message
At 04:36 PM 2/9/2002 -0800, Charlie Killian wrote:
But others like not including a semicolon returns nothing: $d = 3 The page is not returned there is no error and the page is stopped being parsed.
This is by design. Quoting from http://bugs.php.net/bug.php?id=9386: <quote> [17 Jun 2001 4:56am] jmoore@php.net FATAL errors are not passed through user error handlers due to the fact the engine may be unstable and this could present security issues, instead the engine reports the error via its default mechanism as described in php.ini and then shutsdown as gracefully as possible. - James </quote> Sounds like you have your php.ini configured to not display errors, since you are not seeing the parse error message in your HTML output...

« previous php.general (#84151) next »