Skip to content

Instantly share code, notes, and snippets.

@jk
Created July 13, 2011 15:50
Show Gist options
  • Save jk/1080581 to your computer and use it in GitHub Desktop.
Save jk/1080581 to your computer and use it in GitHub Desktop.
Check directories for PHP syntax errors
find . -name "*.php" -exec php -l {} \; | grep "PHP Parse error:"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment