PHP Classes

DHTMLDump: Display a variable in collapsible tree

Recommend this page to a friend!
  Info   Screenshots   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 48%Total: 657 All time: 4,898 This week: 28Up
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

Screenshots (2)  
  • screenshot.gif
  • screenshot2.gif
  Files folder image Files (5)  
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 (5)  /  class  
File Role Description
  Plain text file class.dhtmldump.php Class The class itself

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
Downloaddhtmldump-2007-09-05.zip 31KB
Downloaddhtmldump-2007-09-05.tar.gz 30KB
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  
 0%
Total:657
This week:0
All time:4,898
This week:28Up
User Ratings User Comments (1)
 All time
Utility:65%StarStarStarStar
Consistency:75%StarStarStarStar
Documentation:-
Examples:80%StarStarStarStarStar
Tests:-
Videos:-
Overall:48%StarStarStar
Rank:3045