Php - Check for syntax error in php files, Find error in php file

Check for syntax error in php files


The below command will scan folder to check syntax error in php files

 # find . -name "*.php" -exec php -l {} \;

The topic on Php - Check for syntax error in php files is posted by - Math

Hope you have enjoyed, Php - Check for syntax error in php filesThanks for your time

Tech Bluff