Last active
December 20, 2015 19:38
-
-
Save y8r/6184240 to your computer and use it in GitHub Desktop.
Print arrays wrapped in pre tags to format the output to the browser
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
printf("<pre>%s</pre>", print_r($array, 1)); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment