Below are revisions for this snippet.

Recursive PHP Syntax Checker





Syndication

Revision Revison 1
Recursively checks for all *.php and *.tpl files in the directory specified (or the current directory if one is not specified) and runs `php -l $file`. Only outputs the errors.