Created
May 17, 2013 15:40
-
-
Save rgomezcasas/5599897 to your computer and use it in GitHub Desktop.
PHP Helpers
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 | |
/** | |
* Print the given value and kill the script. | |
* | |
* @param mixed $value | |
* @return void | |
*/ | |
function pd($value) | |
{ | |
echo '<pre>'; | |
echo '<code>'; | |
print_r($what); | |
echo '</code>'; | |
echo '</pre>'; | |
die; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment