Skip to content

a cleaner, leaner mix of print_r() and var_dump() for the browser (PHP >= 5.3)

Notifications You must be signed in to change notification settings

jatazoulja/dump_r.php

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 

Repository files navigation

dump_r()

a cleaner, leaner mix of print_r() and var_dump() for the browser - with HTML5/CSS3/JS at your disposal, you deserve better

see a screenshot for a taste of the default output and css syling

print_r() lacks

  • types / lengths
  • adequate differentiation of bool/null/empty strings

var_dump() lacks

  • readability (forget about it)

both lack

  • value alignment
  • coloring
  • theming
  • uncluttered view without a sea of extra chars
  • tweaking of verbosity
  • interactive collapsing/expanding
  • adjustable recursion depth
  • ability to prevent useless expansion of empties
  • resource dumping
  • decomposing XML/JSON/SQL stings on-the-fly

i've tried and noted quite a few alternatives here: http://www.codingforums.com/showthread.php?t=230042. but none were to my liking, hence this project.

About

a cleaner, leaner mix of print_r() and var_dump() for the browser (PHP >= 5.3)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published