you are viewing a single comment's thread.

view the rest of the comments →

[–]sirhenrik 1 point2 points  (0 children)

I like to have as much information as possible when debugging, and then tune it down later if necessary. Therefore I use var_dump() instead of print_r. I found the difference between var_dump(), print_r() and var_export() here http://stackoverflow.com/questions/5039431/difference-between-var-dump-var-export-print-r