this post was submitted on 18 Jul 2023
2 points (100.0% liked)
PHP
33 readers
3 users here now
founded 2 years ago
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
You've missed out on the biggest feature in PHP 8. With named arguments it's now possible for arguments to be provided in any order. You can now have functions with a large number of optional parameters, without creating a total shit show.
Instead of writing this:
You can now do this: