include_once("dBug.php");
new dBug($myVariable);
More examples at http://dbug.ospinto.com/examples.php
PHP version of ColdFusion’s cfdump.
Outputs colored and structured tabular variable information.
Variable types supported are: Arrays, Classes/Objects, Database and XML Resources.
Ability to force certain types of output. Example: You can force an object variable to be outputted as an array type variable.
Stylesheet can be easily edited.
Table cells can be expanded and collapsed.
It’s FREE!!!