Login   Register  
PHP Classes
elePHPant
Icontem

Colorful variable dump: Dump variable values using colors

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   Screenshots Screenshots   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2011-01-03 (3 years ago) RSS 2.0 feedStarStarStarStar 61%Total: 449 All time: 5,610 This week: 1,319Up
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
Name: Artur Graniszewski is available for providing paid consulting. Contact Artur Graniszewski .
Classes: 13 packages by
Country: Poland Poland
Age: 32
All time rank: 3285 in Poland Poland
Week rank: 117 Up3 in Poland Poland Up
Innovation award
Innovation award
Nominee: 7x

Winner: 1x

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

 Version Control Unique User Downloads Download Rankings  
 0%Total:449All time:5,610
 This week:0This week:1,319Up
User Ratings User Comments (1)  
 All time
Utility:93%StarStarStarStarStar
Consistency:75%StarStarStarStar
Documentation:-
Examples:68%StarStarStarStar
Tests:-
Videos:-
Overall:61%StarStarStarStar
Rank:800