The term 'column' makes a lot of sense for PDO working with database
columns, but there is no concept of a 'column' in the array structure or
PHP as a whole, outside of database related functions.

Actually, while perhaps most of the time a value from a column is what people retrieving from a database result set, that is not always the case. The result could be the value from an expression or a field from a database view. Most database extensions outside of PDO do in fact call it a "field", which I (too) feel is more appropriate.

In the case of this addition, I do indeed like array_pluck as well, as column feel like an overloaded term.

-ralph

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to