PHP 7.4 includes support for arrow functions - or short closures - which allows for a shortened syntax for defining single lines closures with implicit scope binding.
The null coalescing assignment operator (
??=) is a fancy term for something that is quite simple to understand. It provides a shorthand for assigning a value to a variable only if it hasn't been set already.
As part of PHP 7.4, you may now use the spread operator (
...) within arrays.