PHP debugging

Jaime Wong posted a pretty good list of PHP debugging techniques:

PHP has two functions which should be your best friends: var_dump and print_r. Both do the same thing: they print out information about a variable in a human-readable form. Some people prefer var_dump, others print_r. Try both and see which one makes more sense to you, it’s more a personal taste.

Posted Wednesday, December 6th, 2006 under PHP, Programming.