PHP Book

Welcome to PHP Reference Book, the blog for the PHP book: PHP Reference: Beginner to Intermediate PHP5.

“This is a great quick reference book that presents content and examples in a way that it serves both beginners and intermediate users alike. A must buy book!”
– Rak Shekhar, Founder,

Here you will find corrections, tips, clarifications, and samples related to the PHP reference book. You are encouraged, if you find an error or something that needs clarification, to post a comment to the blog so it can be addressed in a post and fixed for later versions (that’s what I call wishful thinking).

Over 15,000 downloads of the free PDF so far!


If you don’t already have a copy of the PHP book, I encourage you to get a print copy from any of the online retailers. Remember, a free PDF version will always be available and the entire book is issued under Creative Commons: Attribution-NonCommercial-ShareAlike 2.0.

Recent Posts

PHP Book Summary

A collection of over 250 PHP functions with clear explanations in language anyone can understand, followed with as many examples as it takes to understand what the function does and how it works. One of the best PHP books to keep around as a PHP reference.

This PHP reference includes numerous additional tips, the basics of PHP, MySQL query examples, regular expressions syntax, and two indexes to help you find information faster: a common language index and a function index.

When the internet is not around or you want a simpler explanation along with all the technical details, this PHP book has all that and more.