Re: [PHP] Variable dump on error

2001-07-19 Thread Rasmus Lerdorf
Read http://php.net/set_error_handler and http://php.net/trigger_error Pay particular attention to the user notes on the set_error_handler() page. -Rasmus On Thu, 19 Jul 2001, Randy Miller wrote: > Using mod_perl when an error is encountered, I have a customized error > screen that is defined

[PHP] Variable dump on error

2001-07-19 Thread Randy Miller
Using mod_perl when an error is encountered, I have a customized error screen that is defined in http.conf that is displayed to the user. This is just a customized 500 page that then emails me which page crashed and all of the local variables. I can't seem to find a way to do this in PHP 4.0.