Skip to content

Instantly share code, notes, and snippets.

@bxt
Created March 6, 2011 17:09
Show Gist options
  • Save bxt/857407 to your computer and use it in GitHub Desktop.
Save bxt/857407 to your computer and use it in GitHub Desktop.
Syntax check (lint) all php files in certain directory with one shell command line
find . -type f -iname "*.php" | xargs -n 1 php -l
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment