Skip to content

Instantly share code, notes, and snippets.

@rgomezcasas
Created May 17, 2013 15:40
Show Gist options
  • Save rgomezcasas/5599897 to your computer and use it in GitHub Desktop.
Save rgomezcasas/5599897 to your computer and use it in GitHub Desktop.
PHP Helpers
<?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