Re: Debugging Help Needed

From: Date: Tue, 12 Apr 2011 22:31:48 +0000
Subject: Re: Debugging Help Needed
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-312358@lists.php.net to get a copy of this message
On Tue, Apr 12, 2011 at 18:29, Rich Shepard <rshepard@appl-ecosys.com> wrote: > >  Looking at the PHP manual I see there's a function called > debug_print_backtrace(), but I have not found how to properly use it. When I > insert it at the top of ErrorHandler404(), php throws an error when I try to > run index.php: > > function ErrorHandler404() > { >  debug_print_backtrace() You missed the ending semicolon, that's all. So when this line comes up: >                @ob_end_clean(); PHP completely flips its lid and starts making threats against your life. -- </Daniel P. Brown> Network Infrastructure Manager http://www.php.net/

« previous php.general (#312358) next »