The following command will find all syntax in PHP executables in the specified directory and subdirectories:
find . -name "*.php" -exec php -l {} \; | grep -v "No syntax"