Created
January 24, 2014 17:44
-
-
Save danferth/8602289 to your computer and use it in GitHub Desktop.
PHP helper functions
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? | |
//fun helper function for debugging from http://net.tutsplus.com/tutorials/tools-and-tips/xdebug-professional-php-debugging/ | |
function dump($value) { | |
echo ‘<pre>'; | |
var_dump($value); | |
echo ‘</pre>'; | |
} | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment