Add build in PHP syntax check on files.

Before certain things could still pass unless they were explicitly
looked for, but PHP checks basic syntax to make sure the file is even
readable.