Introduction to PHP 8 Tricks
Explore how to identify and address backward-compatibility issues when migrating to PHP 8. Understand new object-oriented features, functional differences, extension updates, and removed functionalities to ensure your code works reliably and securely after upgrading.
In this section, we are taken into the dark corners of PHP 8: the places where backward-compatibility breaks exist. This part gives us insight into how to avoid problems before migrating an existing application to PHP 8. We will learn what to look for in our existing code that could cause it to stop working after a PHP 8 upgrade. Once we master the topics presented in this part of the course, we will be well-equipped to modify existing code in such a manner that it continues to function normally following a PHP 8 upgrade.
The following chapters are included in this section: