lint 228 B

1234567891011121314
  1. #!/bin/bash
  2. echo "Finding all php files"
  3. # iterate
  4. while test ${#} -gt 0
  5. do
  6. echo ""
  7. echo "<<< In '$1' >>>"
  8. find -L $1 -name '*.php' -print0 | xargs -0 -n 1 -P 4 php -l
  9. echo "=================="
  10. shift
  11. done