Skip to content

Instantly share code, notes, and snippets.

@ksomemo
Created June 11, 2013 05:14
Show Gist options
  • Save ksomemo/5754593 to your computer and use it in GitHub Desktop.
Save ksomemo/5754593 to your computer and use it in GitHub Desktop.
lint php files
#!/bin/sh
FILES=`find $1 -name \*.php`
for file in $FILES
do
php -l $file
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment