dump

Categories

Component ID

1295140

Component name

dump

Component type

module

Maintenance status

Development status

Component security advisory coverage

not-covered

Component created

Component changed

Component body

This module declares a function to dump info to use it as quick debug without break your site.

It uses /tmp/dump directory by default to dump the data you want

you can write into your module dump_the($info) wherever you like and it'll dumps data into a file the variable/array/object $info. The output is done in a file called
.html, then you can use you favourite browser and go to /tmp/dump directory and find all your dumps sorted by time, file and line.

This avoid writing var_dump(), print_r() and die() all the time to output info. You just write dump_the($info) to obtain a dump into a file without breaking your site and leaving traces, die, print_r, var_dump, etc forgoten in betwen your code or inside a if that breaks your site.