[RFC] Named arguments

From: Date: Tue, 05 May 2020 13:51:18 +0000
Subject: [RFC] Named arguments
Groups: php.internals 
Request: Send a blank email to internals+get-110004@lists.php.net to get a copy of this message
Hi internals, I've recently started a thread on resurrecting the named arguments proposal (https://externals.io/message/109549), as this has come up tangentially in some recent discussions around attributes and around object ergonomics. I've now updated the old proposal on this topic, and moved it back under discussion: https://wiki.php.net/rfc/named_params Relative to the last time I've proposed this around PHP 5.6 times, I think we're technically in a much better spot now when it comes to the support for internal functions, thanks to the stubs work. I think the recent acceptance of the attributes proposal also makes this a good time to bring it up again, as phpdoc annotations have historically had support for named arguments, and this will make migration to the language-provided attributes smoother. Regards, Nikita

« previous php.internals (#110004) next »