Reply to post:

Named arguments squeak into PHP 8.0, 7 years after first RFC

TRT Silver badge

I mean... a nice idea though JetBrains PHP tools already cross reference the PHPdocs and tooltip the parameter list. It could come into its own though when adding extra parameters to a function - if you have a long list of defaults which you barely ever use, then add a really useful one which most of your function calls need to pass...

POST COMMENT House rules

Not a member of The Register? Create a new account here.

  • Enter your comment

  • Add an icon

Anonymous cowards cannot choose their icon