There are many other php books,
This review is from: PHP Developer's Dictionary (Paperback)I own and constantly refer to this book and am constantly disappointed. The PHP Developer's Cookbook (nearly identical cover) is a handy book, but don't waste your money on this one. If you need a good basic introductory text on PHP look to the 56 other PHP titles Amazon stocks. The examples in this one are unclear, the treatment of most topics is incomplete. While the introductory chapters provide an interesting overview of PHP's functionality, it cannot be depended on as a faithful reference for day-to-day use.
Just compare its treatment of classes or data types to that in other texts. Or give a careful read to functions that require careful documentation-like formatting of dates. The book just leaves you confused or in the dark. The book doesn't even do a decent job of summarizing the online docs. I wish I had been more careful.
Whether you are a beginner or an advanced developer this is just not the title you want.