Summary: PHP 8's Functional Additions
Let's get a quick overview of the new functions and features introduced in PHP 8.
We'll cover the following
Key takeaways
Following are the key points that we cover in this chapter:
First, we learned about the new nullsafe operator, which allows us to considerably shorten any code in which a chain of object references might fail.
We also learned how the usage of the ternary operator and the variadics operator has been tightened and improved.
We learned that the concatenate operator has been demoted in the order of precedence.
Get hands-on with 1200+ tech skills courses.