Find parse errors in php code inside directory
Find-ChildItem -name .php -exec "c:\xampp\php53\php -l '{}' \;" > c:\xampp\htdocs\test.txt
No syntax errors detected(.*)$\r\n
find -name '*.php' -exec php -l '{}' \; | grep -v 'No syntax' > ~/php-errors.txt