Chapter 2: Learning about PHP 8's Functional Additions
This chapter walks you through important additions and enhancements introduced to PHP 8 at the procedural level. The code examples used show new PHP 8 features and techniques to facilitate procedural programming.
Mastering the use of the new functions and techniques in this chapter will help you to write faster and cleaner applications. Even though this chapter focuses on commands and functions, all of the techniques are also useful when developing class methods as well.
The following topics are covered in this chapter:
- Working with new PHP 8 operators
- Using arrow functions
- Understanding uniform variable syntax
- Learning new array- and string-handling techniques
- Securing SQLite databases with the authorizer