Chapter 3: Advanced OOP Features
In this third chapter, we're going to look at some of the more advanced object-oriented language features within PHP 8.
First, we're going to explore the Standard PHP Library – SPL for short. This is a collection of built-in classes, interfaces, and functions that provide some highly useful functionality and are guaranteed to be available in your PHP installation.
Next up, we're going to take a look at exceptions and error handling in general. We're going to learn what exceptions are and how we can use them to provide safety and easier debugging for our projects.
Finally, we're going to dip our toes into the mystical and powerful world of meta-programming. This is going to introduce you to the awesome power of ...
Get The Art of Modern PHP 8 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.