Created
October 5, 2015 14:19
-
-
Save pgmccann/1867351e3c5e05ec237f to your computer and use it in GitHub Desktop.
Formatted var_dump() for HTML output
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 | |
function do_var_dump($object) { | |
echo "<pre>"; | |
var_dump($object); | |
echo "</pre>"; | |
} | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment