PHP Classes

Colorful variable dump: Dump variable values using colors

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 54%Total: 496 All time: 5,850 This week: 455Up
Version License PHP version Categories
dumper 1.1BSD License5.0PHP 5, Debug
Description 

Author

This class can be used to dump variable values using colors.

It uses the var_dump function to get the representation of a variable value and uses regular expressions to replace different sections with HTML tags that make them appear in different colors.

Innovation Award
PHP Programming Innovation award nominee
September 2010
Number 9


Prize: One downloadable copy of Komodo IDE
var_dump is PHP function frequently used to display values of variables in way that is readable to the developers.

This class goes further and adds HTML tags to the output of var_dump function to make the dumped values of different types even more readable by using in distinct colors for each of the value types.

Manuel Lemos
Picture of Artur Graniszewski
  Performance   Level  
Name: Artur Graniszewski is available for providing paid consulting. Contact Artur Graniszewski .
Classes: 14 packages by
Country: Poland Poland
Age: 42
All time rank: 2874 in Poland Poland
Week rank: 195 Up2 in Poland Poland Up
Innovation award
Innovation award
Nominee: 7x

Winner: 1x

Screenshots (2)  
  • screen2.PNG
  • screen1.PNG
  Files folder image Files (4)  
File Role Description
Plain text file dumper.php Class Main class
Accessible without login Plain text file dumper_example.php Example Simple example script

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
 Version Control Unique User Downloads Download Rankings  
 0%
Total:496
This week:0
All time:5,850
This week:455Up
User Ratings User Comments (1)
 All time
Utility:83%StarStarStarStarStar
Consistency:66%StarStarStarStar
Documentation:-
Examples:66%StarStarStarStar
Tests:-
Videos:-
Overall:54%StarStarStar
Rank:2003