Chapter 18. Classes and Objects (PHP 5)

Table of Contents
Introduction
The Basics
Constructors and Destructors
Visibility
Scope Resolution Operator (::)
Static Keyword
Object Constants
Object Abstraction
Object Interfaces
Overloading
Object Iteration
Magic Methods
Final Keyword
Exceptions
Object cloning
Comparing objects
Reflection

Introduction

In PHP 5 there is a new Object Model. PHP's handling of objects has been completely rewritten, allowing for better performance and more features.