Chapter 12. Object-Oriented Programming in PHP
Understanding Object-Oriented Programming
Object-oriented programming is in widespread use today. Object-oriented programming, with a limited feature set, is possible in PHP 4. With PHP 5, the object-oriented capabilities of PHP were greatly improved, resulting in both more speed and added features. The information and sample programs in this chapter are written using features added in PHP 5. Features that are not available in PHP 4 are noted.
Object-Oriented Programming
Object-oriented programming is not just a matter of using different syntax. It is a different way of analyzing programming problems. The program is designed by modeling the programming problem. For example, a programmer designing a program ...
Get PHP & MySQL®: Your visual blueprint™ for creating dynamic, database-driven Web sites 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.