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

  Author Author  
Picture of Artur Graniszewski
Name: Artur Graniszewski is available for providing paid consulting. Contact Artur Graniszewski .
Packages: 13 Browse all classes by Artur Graniszewski Browse all classes by
Country: Poland Poland - PHP jobs in Poland
Age: 32
All time rank: 3515 in Poland Poland
Week rank: 57 Up2 in Poland Poland Up
Innovation award
Innovation award
Nominee: 7x

Winner: 1x


  Detailed description   Download Download .zip .tar.gz  
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.

  Classes of Artur Graniszewski  >  Colorful variable dump  >  Download Download .zip .tar.gz  >  Support forum Support forum (1)  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: Colorful variable dump
Base name: dumper
Description: Dump variable values using colors
Version: 1.1
PHP version: 5.0
License: BSD License
All time users: 430 users
All time rank: 5587
Week users: 0 users
Week rank: 1765 Equal
 
  Groups   Screenshots Screenshots   Rate classes User ratings  
  Applications   Related links   Files Files  

  Groups  
Group folder image PHP 5 Classes using PHP 5 specific features View top rated classes
Group folder image Debug Debug data dumping, bug detection and reporting View top rated classes

  Files folder image Screenshots  
Screenshot 2
File Role Description
Accessible without login Image file screen2.PNG Screen Screenshot 2
Accessible without login Image file screen1.PNG Screen Screenshot 1


  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

  User ratings  
RatingsUtility Consistency Documentation Examples Tests Videos Overall Rank
All time: Good (93.8%) Sufficient (75.0%) - Sufficient (68.8%) - - Sufficient (61.2%) 785
Month: Not yet rated by the users

  Applications that use this class  
No application links were specified for this class.
Add link image If you know an application of this package, send a message to the author to add a link here.

  Related links  
Link Description
Technical description Project technical description (polish version)

  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

Download Download all files: dumper.tar.gz dumper.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.