This chapter explains concepts of object-oriented (OO) development and shows how they can be implemented in PHP. PHP5 introduces a new, more powerful object-oriented implementation, which makes classes and objects more useful.
Now PHP's OO implementation has all the features you would expect in a fully object-oriented language. We point out each of the new features as we go through this chapter for those of you who have previously used PHP4 or earlier.
Key topics covered in this chapter include
Classes, attributes, and operations
Class method invocation