Chris Nizzardini, Salt Lake City Utah, Web Developer Specializing in LAMP+Ajax Since 2006

My Blog

Here is my awesome blog. You can find information on programming, linux, documentation, tips for code and database optimization, my thoughts and rants, and whatever else I feel like sharing. Feel free to contribute to the blog by posting comments and asking questions.
Programming

using php debug_print_backtrace for debugging code

This is a built-in PHP function that I can’t believe I didn’t learn about until just a few weeks ago. One of the developers at work was debugging an application that had a lot of includes and he called debug_print_backtrace(). It dumps out a nice array showing which files called a function, and what line number it occurs on.

See http://us2.php.net/debug_print_backtrace for more information.

Related posts:

  1. Convert a PHP Object to an Array
  2. sorting a multidimensional array in php
  3. using JSON to pass JavaScript arrays to PHP via Ajax
  4. getting rss feeds with php’s simplexml_load_file() function
  5. Pass Objects and Arrays Between JavaScript and PHP with JSON

Leave a Reply