Created
March 13, 2014 17:58
-
-
Save Shelob9/9533446 to your computer and use it in GitHub Desktop.
Make print_r() more readable. Found on http://us2.php.net/print_r
This file contains hidden or 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 print_r2($val){ | |
echo '<pre>'; | |
print_r($val); | |
echo '</pre>'; | |
} | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I use this frequently! 💯👌
Gracias