The Writing PHP with Emacs book page has been updated with a free chapter. It covers adding syntax checking to Emacs via flycheck.
The book is currently priced at $9.99, but will be increasing to $19.99 on March 31st. All future updates are included with the initial purchase.
Read the free chapter: Checking syntax (and more) with flycheck