Summary: Avoiding Traps When Using PHP 8 Extensions
A quick overview of avoiding traps when using PHP 8 extensions.
We'll cover the following
Key takeaways
One of the most important concepts we learned is a general trend away from resources and toward objects. We learned where this trend is noticeable in the various PHP extensions and how to develop workarounds to avoid problems in code that rely upon resources.
We also learned how to detect and develop code to address changes in XML extensions, especially in the
SimpleXML
andXMLWriter
extensions.Another important extension with significant changes covered was the
mbstring
extension.We learned to detect code that relies upon changed
mbstring
functionality.
Get hands-on with 1400+ tech skills courses.