Chapter 6: Understanding PHP 8 Functional Differences

In this chapter, you will learn about potential backward-compatible breaks at the PHP 8 command, or functional, level. This chapter presents important information that highlights potential pitfalls when migrating existing code to PHP 8. The information presented in this chapter is critical to know so that you can produce reliable PHP code. After working through the concepts in this chapter, you'll be in a better position to write code that produces precise results and avoids inconsistencies.

Topics covered in this chapter include the following:

  • Learning key advanced string handling differences
  • Understanding PHP 8 string-to-numeric comparison improvements
  • Handling differences in arithmetic, ...

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.