Skip to content

Instantly share code, notes, and snippets.

@cognitom
Created March 25, 2012 08:41
Show Gist options
  • Select an option

  • Save cognitom/2192416 to your computer and use it in GitHub Desktop.

Select an option

Save cognitom/2192416 to your computer and use it in GitHub Desktop.
Syntax check multiple PHP files in the current directory
find . -name \*.php -exec php -l "{}" \;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment