O'Reilly logo

PHP 5 Recipes: A Problem-Solution Approach by Jon Stephens, Frank M. Kromann, Nathan A. Good, Lee Babin

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

CHAPTER 2Overview of Classes, Objects, and Interfaces

If you have worked with PHP in its earlier incarnations, then much of what you will find in PHP 5 is quite familiar, as you no doubt noticed from Lee Babin's survey of the major language features in Chapter 1. Like its predecessor, PHP 5 supports object-oriented programming, but the way in which this is implemented has changed; in fact, it has been expanded significantly from what was formerly available. In this chapter, we will acquaint you with the basics of classes, objects, and interfaces in PHP 5. In doing so, we will address the needs of several groups of readers to make sure that we all (forgive the expression) wind up on the same page.

This book assumes you have prior experience with ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required