Working with removed functionality in PHP 8 extensions
In this section, we will have a look at removed functionality in PHP 8 extensions. This information is extremely important in order to avoid writing code that does not work in PHP 8. Further, an awareness of removed functionality helps you prepare existing code for a PHP 8 migration.
The following table summarizes removed functionality in extensions:
The preceding table provides a useful list of removed functions. Use this list to check against your existing code prior to a PHP 8 migration.
Let's now have a look at a potentially serious change to the mbstring extension.
Discovering mbstring extension changes
The mbstring
extension has had two major changes that have massive potential for a backward-compatible code break. The first change is that a significant number of convenience aliases have been removed. The second major change...