PHP Classes

DHTMLDump: Display a variable in collapsible tree

Recommend this page to a friend!
  Info   Screenshots Screenshots   View files View files (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 48%Total: 656 All time: 4,900 This week: 488Up
Version License PHP version Categories
dhtmldump 1.0Freeware5HTML, Debug


This class can be used to display a PHP variable in collapsible tree.

It takes the value of a PHP variable of either the types of integer, string, object, array, etc, and displays it as a nested tree.

The class can traverse arrays and objects recursively. It can also limit the of the depth of the tree when display arrays or objects to avoid infinite loops while display variables that are part of circular references.

For objects, it shows the visibility qualifier: private, protected, public. It can also show an object hash, to denote distinct objects.

Picture of Ian Lord
Name: Ian Lord <contact>
Classes: 4 packages by
Country: Canada Canada
Age: 45
All time rank: 49119 in Canada Canada
Week rank: 250 Up5 in Canada Canada Up

  • screenshot.gif
  • screenshot2.gif
  Files folder image Files  
File Role Description
Files folder imageclass (1 file)
Accessible without login Plain text file dhtmldumpexample.php Example Example of usage
Accessible without login HTML file sampleoutput.htm Output Sample output

  Files folder image Files  /  class  
File Role Description
  Plain text file class.dhtmldump.php Class The class itself 31KB
Install with ComposerInstall with Composer
Needed packages  
Class DownloadWhy it is needed Dependency
Class Treeview Download .zip .tar.gz To render correctly Required
 Version Control Unique User Downloads Download Rankings  
This week:0
All time:4,900
This week:488Up
User Ratings User Comments (1)
 All time