Customer Reviews
The treatment of objects lets this book down. - By: Kirk St Moritz, 27 Apr 2008 
One of the primary reasons I got this book was to get a decent understanding of the use of objects. It fails to deliver on this front. The book assumes you alread know the ins & outs of objects, & fails to adequately explain their rolein the language. For instance, it tells you how to create a static method, but doesn't say why you might want to do so, or indeed, how a static method differs from a non-static method! I can make an educated guess at this, but educated guesses are not the way to learn something properly!
Having said that, prior to geting to the object chapter, the rest of the book had been much better. So if you already know your objects or don't intend using that aspect of the language, then you can add at least 1 star to this review.
Too many mistakes - By: Amateur photographer, professional programmer, 22 Dec 2006 
I found this book a good introduction to PHP. But, it has a lot of mistakes. I think these have happened when the book was updated to cover PHP 5.
For example, when it describes constructors it says the constructor is a function named __construct(). But then it immediately gives an example where the constructor for class Person is a function called Person(). The former is PHP 5, the latter is PHP 4. Perhaps the update was a rush job.
If you can't already programin C or C++ then this book may not be for you. If you can, then it's OK.
Very Good - By: Martin Anderson, 03 Aug 2006 
Writtenin the standard O'Reilly style, this book gives you a comprehensive coverage of PHP without being overly verbose or too dryly technical. Nowin its 2nd edition this book covers the most recent version of PHP, version 5.
While I wouldn't want to learn PHP as a first programming language from this book, anybody with a basic knowledge of HTML & an OOP based language (Java, C++ or even JavaScript) will quickly be able to code PHP.
While the book isn't perfect: the aforementioned lack of concrete examples (the cynicin me might think that O'Reilly were saving these for the PHP Cookbook which is due out soon) & the chapter on objects being only 20 pages long, it's still all you would need as both a reference & a learning resource. A strong buy.
An O'Reilly Classic - By: , 20 Aug 2003 
This book is similar to every other O'Reilly bookin that it is clear, concise & to the point. Never does it waffle on, & never does it go into too much detail & complexity that everyone except the best programmers understands it.
I personally found the explanation of objects & their classes to be better than the other explanations I have read for different languages, & certainly made picking up OOPin PHP a lot easier. Throughout is the obvious knowledge of the authors, something always reassuringin a title like this. The book fits well for beginners & seasoned programmers alike: the basics are explained well, & the technical reasons why things happen are included for good measure.
I was also surprised by the size of this book, as it significantly thinner than the other O'Reilly books (and other computer books for that matter), that I own. Computer books often appear large, daunting & dry. This book is an exception to that rule, & is perfectly good for someone wanting to learn PHP from the ground up to someone wanting to pick a chapter to swat up on, & use it as a reference book. Allin all, a very good book.
Easy start in dynamic webpages - By: David Precious, 26 Jun 2003 
PHP is a great language to start creating dynamic websites with - it's easy to learn, but very powerful.
This book will start you out on the right tracks with PHP & help you build up your experience - even once you're experienced, you'll still turn to it for reference.
As usual, it's a solid O'Reilly title, it won't let you down. Being co-written by Rasmus himself (the creator of PHP) it benefits from more than a little extra experience & inside information.
Basically, if you want to create dynamic websites with a lot of power, PHP is the language you want, & this is the book.