Better PHP LoggingJune 16, 2015
Thankfully with a tiny bit of markup wrapping your
print_r statement you can easily read information about the variable.
<?php echo "<pre>"; var_dump(\$your_variable); echo "</pre>"; ?>
<?php echo "<pre>"; print_r(\$your_variable); echo "</pre>"; ?>