Skip to content

Instantly share code, notes, and snippets.

@naneri
Last active August 29, 2015 14:02
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save naneri/4b8a27384252f0288117 to your computer and use it in GitHub Desktop.
Save naneri/4b8a27384252f0288117 to your computer and use it in GitHub Desktop.
Dumps the $variable and displays it nicely. After that finishes the script. This Gist can be set as a code snippet in Netbeans / Notepad++ / Any other editor, so that it can be used to quickly find out, what is inside the variable.
echo "<pre>"; print_r($variable); echo "</pre>";
exit;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment