Main menu

Subscribe to debug

debug

PHP Debugging Followup - The dump function

Submitted by mikehostetler on Mon, 02/19/2007 - 12:24

I was in some old code this weekend and found another little PHP debugging gem. I had another version of a dump function that I used a long time ago, but stole this one from the Zend Framework because it was better. So, use this as a replacement for print_r() or var_dump().

Check out the function after the jump.