#/bin/bash

FLS=`find . -name "*.php"` 
for FL in $FLS ; do
  php -l $FL
done

FLS=`find . -name "*.html"` 
for FL in $FLS ; do
  php -l $FL
done
