Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
Classes and Objects (PHP 5)

Chapter 19. Classes and Objects (PHP 5)

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

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.

Tip: You may also want to take a look at the Appendix R.