Recursive syntax check with php command line

find . -name \*.php -exec php -l “{}” \;