6. More Advanced OOP

The previous chapter explored some advanced OOP concepts, with a particular emphasis on those related to inheritance. In this chapter, you’ll learn even more advanced OOP concepts, including some introduced in more recent versions of PHP. Tip: make sure you know what version of PHP you’re working with before proceeding.

The topics in this chapter get to be more esoteric, and won’t always be necessary in a Web application, but these concepts should be on your radar as you become more comfortable with OOP as a programming approach. As with the past two chapters, a fair amount of OOP theory will be covered as well.

Abstract ...

Get PHP Advanced and Object-Oriented Programming: Visual Quickpro Guide, Third Edition 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.