Named arguments
This video discusses named arguments: a new feature in PHP 8 that allows you to pass arguments to functions by using their name instead of position in the function definition.
Links
- Front Line PHP: the book that explains all PHP 8 features and modern PHP in depth
- Why we need named arguments: a list of arguments why named arguments are a good addition to PHP, despite some concerns raised about backwards compatibility.