News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

J. Scott Johnson's Blog:
Your PHP Command of the Day - debug_backtrace()
April 12, 2006 @ 06:57:04

J. Scott Johnson shares, in this new blog post, about a handy little function that any PHP developer out there would do well to remember when it comes to debugging their code - debug_backtrace.

When you're massively and rapidly refactoring a code base, mere hours before a demo* and you utterly and completely hose yourself then just plain trot out debug_backtrace() and whammo! Your debugging problems go away!

This function generates a backtrace from the function it's inside, making it easy to tracke backwards the path that the data's taking to get to that location. Very handy for tracking down which functionality it is that's causing the issues...

0 comments voice your opinion now!
command day debug_backtrace generate backtrace command day debug_backtrace generate backtrace


blog comments powered by Disqus

Similar Posts

Ryan Malesevich's Blog: MD5 to SHA-1 in PHP and MySQL (Part 1)

Ryan Malesevich's Blog: MD5 to SHA-1 in PHP and MySQL (Part 1)

Zend Developer Zone: ...Bake Me a Cake as Fast as You Can

PHPMaster.com: Proc_Open: Communicate with the Outside World

Hasin Hayder's Blog: Vulnerable bug in CodeIgniter which took us hours to fix our corrupted database


Community Events





Don't see your event here?
Let us know!


api threedevsandamaybe framework list code community release laravel developer library project podcast configure application bugfix interview series introduction wordpress language

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework