PHP Classes

Colorful variable dump: Dump variable values using colors

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in Bookmark in
  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 (4 years ago) RSS 2.0 feedStarStarStarStar 61%Total: 467 All time: 5,635 This week: 1,125Up
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: 13 packages by
Country: Poland Poland
Age: 33
All time rank: 3175 in Poland Poland
Week rank: 193 Up9 in Poland Poland Down
Innovation award
Innovation award
Nominee: 7x

Winner: 1x

  • 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:467All time:5,635
 This week:0This week:1,125Up
User Ratings User Comments (1)  
 All time