Re: [DRAFT] RFC - array_column() function
| From: | Matthew Weier O'Phinney | Date: | Mon, 25 Jun 2012 14:44:02 +0000 |
| Subject: | Re: [DRAFT] RFC - array_column() function | ||
| References: | 1 2 3 4 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-60961@lists.php.net to get a copy of this message | ||
On 2012-06-23, Stas Malyshev <smalyshev@sugarcrm.com> wrote:
> > I'm open to changing or aliasing the name to array_pluck(), if others
> > are in agreement.
>
> I wouldn't know what "pluck" means here. "Column" is a clear word with
> established meaning. Let's not get too whimsical here.
Nothing whimsical about it at all, Stas. The definition is:
Take hold of (something) and quickly remove it from its place; pick
and synonyms include "pull" and "gather".
As Ralph noted, "column" is overloaded, as it has connotations dealing
with databases as well as tables, and arrays often represent neither.
--
Matthew Weier O'Phinney
Project Lead | matthew@zend.com
Zend Framework | http://framework.zend.com/
PGP key: http://framework.zend.com/zf-matthew-pgp-key.asc