Re: [VOTE] array_column() function

From: Date: Sat, 12 Jan 2013 23:53:46 +0000
Subject: Re: [VOTE] array_column() function
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-64914@lists.php.net to get a copy of this message
On Fri, Jan 11, 2013 at 7:17 PM, Ben Ramsey <ramsey@php.net> wrote:
> I've opened voting for the array_column() function RFC.
>
> You can vote at https://wiki.php.net/rfc/array_column#voting

No voting member, here, but I'd just like to say that I like the
function, but I hope the actual implementation will only provide one
name (i.e., no aliases.) Use of an alias is nice when one regrets an
original name choice and then renames a function to better fit the
schema and context that has evolved around the function.

In this case, the function is coming in new, so please just call it array_pluck.

Adam


Thread (55 messages)

« previous php.internals (#64914) next »