Automatically check PHP files for syntax errors