Chapter 2. Using PHP 7 High Performance Features
In this chapter we will discuss and understand the syntax differences between PHP 5 and PHP 7, featuring the following recipes:
- Understanding the abstract syntax tree
- Understanding differences in parsing
- Understanding differences in
foreach()
handling - Improving performance using PHP 7 enhancements
- Iterating through a massive file
- Uploading a spreadsheet into a database
- Recursive directory iterator