Oct 21
php -l file.php
Check all PHP files in the current directory
for i in *.php; do php -l $i; done
Check all PHP files in the current directory and all subdirectories
find . -name \*.php -exec php -l "{}" \;
Check all PHP files in the current directory
Check all PHP files in the current directory and all subdirectories
Recent Comments