#!/usr/bin/env bash find my/folder/ -name "*.php" -print0 | xargs -0 -n1 -P8 php -l