PHP Classes

Colorful variable dump: Dump variable values using colors

Recommend this page to a friend!
  Info   Screenshots Screenshots   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 54%Total: 496 This week: 1All time: 5,846 This week: 560Up
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: 106 Up5 in Poland Poland Down
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:496
This week:1
All time:5,846
This week:560Up
User Ratings User Comments (1)
 All time
Utility:83%StarStarStarStarStar
Consistency:66%StarStarStarStar
Documentation:-
Examples:66%StarStarStarStar
Tests:-
Videos:-
Overall:54%StarStarStar
Rank:1980