Created
July 13, 2011 15:50
-
-
Save jk/1080581 to your computer and use it in GitHub Desktop.
Check directories for PHP syntax errors
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
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