Created
September 25, 2013 14:40
-
-
Save dazz/6700610 to your computer and use it in GitHub Desktop.
pretty print
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
function print_pre($var, $doDie = true) { | |
echo "<pre>"; | |
print_r($var); | |
echo "</pre>"; | |
if ($doDie) { | |
die('i-die'); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment