Skip to content

Instantly share code, notes, and snippets.

@ulinaaron
Created November 13, 2014 20:52
Show Gist options
  • Save ulinaaron/89f9a59f8c5829f87df9 to your computer and use it in GitHub Desktop.
Save ulinaaron/89f9a59f8c5829f87df9 to your computer and use it in GitHub Desktop.
Pretty Dump
/**
* Pretty Var Dump
*/
function pvar($var, $color = '#FFF') {
echo '<pre style="color: ' . $color . ';">';
echo var_dump($var);
echo '</pre>';
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment