Skip to content
This repository

a cleaner, leaner mix of print_r() and var_dump()

branch: master
README.md

dump_r()

a cleaner, leaner mix of print_r() and var_dump()

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

2013-01-08
PSR-0 rewrite

2012-11-27
now installable through Composer
require: "leeoniya/dump-r": "dev-master"
https://packagist.org/packages/leeoniya/dump-r

default output and css syling

screenshot
view full size

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.

Something went wrong with that request. Please try again.