A better print_r: dBug

dBug is a php library that print a nice-formatted dump of a variable:

include_once("dBug.php");

$variable = array(
    "first"=>"1",
    "second",
    "third"=>array(
        "inner third 1",
        "inner third 2"=>"yeah"),
    "fourth");

new dBug($variable); 

Will be formatted like this:
dBug

Variable types supported are: Arrays, Objects, Recordsets and XML Resources.