Re: RFC [Discussion] array_column results grouping

From: Date: Mon, 06 Dec 2021 10:33:57 +0000
Subject: Re: RFC [Discussion] array_column results grouping
References: 1 2 3 4  Groups: php.internals 
Request: Send a blank email to internals+get-116576@lists.php.net to get a copy of this message
On 05/12/2021 14:02, Rowan Tommins wrote:
Since this is explicitly an open question in the current RFC draft, it seems a bit premature to talk about voting, rather than encouraging the RFC to develop in a particular direction.
I hope it was taken as nothing more than an indication that adding an extra argument to array_columns would not be our preference for the route to go down :-) I could see the benefits to a standalone array_column_group function, that way the expected dimensions of the output would be more easily recognisable without having to inspect the parameters. As this RFC focuses heavily on array_columns, including all of the examples and the PR, I would encourage the author to consider an RFC specifically for array_column_group. Mark Randall

« previous php.internals (#116576) next »