Skip to content

Instantly share code, notes, and snippets.

@JamesChevalier
Last active September 27, 2015 05:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save JamesChevalier/1221030 to your computer and use it in GitHub Desktop.
Save JamesChevalier/1221030 to your computer and use it in GitHub Desktop.
dumbly simple debug output ... Just replace VARIABLENAME with the name (without the $) of the variable (probably an array) you want to see the contents of
// Begin Debug Output
echo "Debug Output for VARIABLENAME:<br><pre>";
var_dump($VARIABLENAME);
echo "</pre><br>End of debug output.";
// End Debug Output
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment