Here is a cool recipe to find all the files that have changed in your work area and check the syntax correctness of PHP files.

svn status .  | sed -e 's/^[A-Z]//g' | sed -e 's/[\?+]//g' | sed -e 's/^\s*//g' | sed -e 's/^[C>]\s*//g' |grep php | xargs -I {} php -l {}
Advertisements