[PHP-DEV] Re: [RFC] Named arguments

2020-07-06 Thread Nikita Popov
On Fri, Jul 3, 2020 at 4:35 PM Nikita Popov wrote: > On Mon, Jun 29, 2020 at 5:13 PM Nikita Popov wrote: > >> On Tue, Jun 23, 2020 at 12:10 PM Nikita Popov >> wrote: >> >>> On Tue, May 5, 2020 at 3:51 PM Nikita Popov >>> wrote: >>> Hi internals, I've recently started a thread on

Re: [PHP-DEV] Re: [RFC] Named arguments

2020-07-04 Thread Larry Garfield
On Fri, Jul 3, 2020, at 9:35 AM, Nikita Popov wrote: > I've made two additional changes to the proposal: > > 1. Explicitly mentioned attribute support in > https://wiki.php.net/rfc/named_params#attributes1, and added it to the > implementation (oops). ReflectionAttribute::getArguments() will also

[PHP-DEV] Re: [RFC] Named arguments

2020-07-03 Thread Nikita Popov
On Mon, Jun 29, 2020 at 5:13 PM Nikita Popov wrote: > On Tue, Jun 23, 2020 at 12:10 PM Nikita Popov > wrote: > >> On Tue, May 5, 2020 at 3:51 PM Nikita Popov wrote: >> >>> Hi internals, >>> >>> I've recently started a thread on resurrecting the named arguments >>> proposal (https://externals.io

Re: [PHP-DEV] Re: [RFC] Named arguments

2020-07-02 Thread Nikita Popov
On Thu, Jul 2, 2020 at 1:20 PM Andrea Faulds wrote: > Hi, > > Nikita Popov wrote: > > > > Regarding the question of what to do with regard to LSP validation and > > parameter names changing during inheritance: During internal discussion, > > the following option has come up as a possible compromi

[PHP-DEV] Re: [RFC] Named arguments

2020-07-02 Thread Andrea Faulds
Hi, Nikita Popov wrote: Regarding the question of what to do with regard to LSP validation and parameter names changing during inheritance: During internal discussion, the following option has come up as a possible compromise: 1. When calling a method, also allow using parameter names from the

Re: [PHP-DEV] Re: [RFC] Named arguments

2020-06-29 Thread Theodore Brown
On Mon, June 29, 2020 at 10:13 AM Nikita Popov wrote: > On Tue, Jun 23, 2020 at 12:10 PM Nikita Popov wrote: > > > As we're moving in on feature freeze, I plan to move this proposal forward > > soonishly. > > > > I have update the RFC to drop the syntax as an open question (I haven't > > seen m

[PHP-DEV] Re: [RFC] Named arguments

2020-06-29 Thread Nikita Popov
On Tue, Jun 23, 2020 at 12:10 PM Nikita Popov wrote: > On Tue, May 5, 2020 at 3:51 PM Nikita Popov wrote: > >> 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 rec

[PHP-DEV] Re: [RFC] Named arguments

2020-06-23 Thread Nikita Popov
On Tue, May 5, 2020 at 3:51 PM Nikita Popov wrote: > 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 > ergonomic

Re: [PHP-DEV] Re: [RFC] Named arguments

2020-05-29 Thread Bob Weinand
> Am 29.05.2020 um 21:02 schrieb Larry Garfield : > > On Fri, May 29, 2020, at 9:32 AM, Nikita Popov wrote: >> On Tue, May 5, 2020 at 3:51 PM Nikita Popov wrote: >> >>> Hi internals, >>> >>> I've recently started a thread on resurrecting the named arguments >>> proposal (https://externals.io/me

Re: [PHP-DEV] Re: [RFC] Named arguments

2020-05-29 Thread Larry Garfield
On Fri, May 29, 2020, at 9:32 AM, Nikita Popov wrote: > On Tue, May 5, 2020 at 3:51 PM Nikita Popov wrote: > > > 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 som

[PHP-DEV] Re: [RFC] Named arguments

2020-05-29 Thread Nikita Popov
On Tue, May 5, 2020 at 3:51 PM Nikita Popov wrote: > 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 > ergonomic

[PHP-DEV] Re: [RFC] Named arguments Nikita Popov

2020-05-06 Thread Maciej Sobaczewski
W dniu 06.05.2020 o 09:43, Christoph M. Becker pisze: On 06.05.2020 at 08:25, Maciej Sobaczewski wrote: I'm on the fence when it comes to the feature itself so I will skip that part entirerly but I'd like to draw attention to one more problem. Many PHP Manual translations translate the paramete

Re: [PHP-DEV] Re: [RFC] Named arguments

2020-05-06 Thread Benjamin Eberlei
On Wed, May 6, 2020 at 8:25 AM Maciej Sobaczewski wrote: > Hi Nikita! > > W dniu 05.05.2020 o 15:51, Nikita Popov pisze: > > Hi internals, > > > > I've recently started a thread on resurrecting the named arguments > proposal > > (https://externals.io/message/109549), as this has come up tangentia

[PHP-DEV] Re: [RFC] Named arguments

2020-05-06 Thread Christoph M. Becker
On 06.05.2020 at 08:25, Maciej Sobaczewski wrote: > I'm on the fence when it comes to the feature itself so I will skip that > part entirerly but I'd like to draw attention to one more problem. Many > PHP Manual translations translate the parameter names, too - both in > text, as well as in the fu

[PHP-DEV] Re: [RFC] Named arguments

2020-05-05 Thread Maciej Sobaczewski
Hi Nikita! W dniu 05.05.2020 o 15:51, Nikita Popov pisze: 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.