Run Time 4:47Free
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.
Run Time 2:51Free
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.
Run Time 4:15Free
As part of PHP 7.4, you may now use the spread operator (
...) within arrays.