Chapter 1. WHY OBJECT-ORIENTED PHP?

WHY OBJECT-ORIENTED PHP?

Let's get things straight right from the start: PHP (PHP Hypertext Preprocessor) is not an object-oriented language, but it does have extensive object-oriented features. These underwent comprehensive revision and enhancement when PHP 5 was released in July 2004, and the PHP 5 object-oriented programming (OOP) model remains essentially unchanged in PHP 6. The purpose of this book is to help you leverage those features to make your code easier to reuse in a variety of situations. I assume you're familiar with basic PHP concepts, such as variables, arrays, and functions. If you're not, this isn't the book for you—at ...

Get PHP Object-Oriented Solutions now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.