Chapter 7: Avoiding Traps When Using PHP 8 Extensions

One of the main strengths of the PHP: Hypertext Preprocessor (PHP) language is its extensions. Changes to the PHP language introduced in PHP 8 also require extension development teams to update their extensions at the same time. In this chapter, you will learn which major changes to extensions have been made and how to avoid traps when updating an existing application to PHP 8.

Once you have finished reviewing the sample code and topics presented in this chapter, you will be able to prepare any existing PHP code for migration to PHP 8. In addition to learning about the changes to the various extensions, you will also gain deep insight into their operation. This ability will allow you to make ...

Get PHP 8 Programming Tips, Tricks and Best Practices 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.