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, bitwise, and concatenation operations
- Taking advantage of locale independence
- Handling arrays in PHP 8
- Mastering changes in security functions and settings