3 ms·
Show HN: dump_r() - print_r() and var_dump() alternative
I wrote this because print_r() and var_dump() collectively suck and after trying countless alternatives couldn't find exactly what I envisioned.
demo: http://o-0.me/dump_r/
repo: https://github.com/leeoniya/dump_r.php
All styling can be tweaked through the embedded stylesheet, nothing is inline. Feedback, issues and css themes welcome.
- kirchhoff 14y agoThanks, this is very useful.
- tnorthcutt 14y agoClickable: http://o-0.me/dump_r/ http://o-0.me/dump_r/ https://github.com/leeoniya/dump_r.php https://github.com/leeoniya/dump_r.php
- leeoniya 14y agothx, dunno why HN doesn't linkifiy primary topic text.
- bduerst 14y agoNice. I'll have to test this on my home machine later. I've been using Spoon's dump() method, but that requires loading the entire library. http://www.spoon-library.com/docs/1.3/spoon/spoon/dump http://www.spoon-library.com/docs/1.3/spoon/spoon/dump