[PHP] set_error_handler() not catching some errors

2002-02-09 Thread Charlie Killian
set_error_handler() is passing some errors like: $d = x; Use of undefined constant x - assumed 'x' 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. Any ideas? My handler function: Function

Re: [PHP] set_error_handler() not catching some errors

2002-02-09 Thread Michael Sims
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]

Re: [PHP] set_error_handler() not catching some errors

2002-02-09 Thread Charlie Killian
Thanks Mike. I updated display_errors = On and now I see the errors. Charlie 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... -- PHP General Mailing List (http://www.php.net/) To unsubscribe,