Created
March 5, 2014 07:42
-
-
Save alex-cory/9362828 to your computer and use it in GitHub Desktop.
Great for debugging php when using the terminal. You can put little checks in where ever is necessary and easily find your debugging spots to remove them.
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
# ------------------------------------------------------------------ | |
echo '--- check 1 ---------------------------------------' . "\n"; | |
# DEBUG ------------------------------------------------------------ | |
var_dump($something); | |
# ------------------------------------------------------------------ | |
echo '---------------------------------------------------' . "\n"; | |
# ------------------------------------------------------------------ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment