I’ve noticed that when I try to display the value of a variable with PHP, for example using print_r($array)/var_dump(), etc or even when using the Reflection API, I end up with output that is hard to read because there are no line breaks. Every screen shot I see everywhere else has these things displayed in a sort of tree looking format that is much easier to read. Does anyone know why this is?
Share
Try:
Or try viewing it with the “View source” option of your browser.
Hope this helps
EDIT
OR just use the pre tags, like this: