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 51%Total: 653 All time: 4,869 This week: 297Up
Version License PHP version Categories
dhtmldump 1.0Freeware5HTML, Debug
Description Author

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: 42
All time rank: 48919 in Canada Canada
Week rank: 948 Down18 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
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,869
This week:297Up
User Ratings User Comments (1)
 All time
For more information send a message to info at phpclasses dot org.