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>'; | |
} | |
?> |
I use this frequently! π―π
Gracias
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Saw it on the same source just today... googled print_r2 and it gave me this link! google is your friend they say - so are you! haaha being lazy - rather copy/paste! π