Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:60958 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 23595 invoked from network); 24 Jun 2012 16:19:24 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 24 Jun 2012 16:19:24 -0000 Authentication-Results: pb1.pair.com header.from=ralph@ralphschindler.com; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=ralph@ralphschindler.com; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain ralphschindler.com from 209.85.214.170 cause and error) X-PHP-List-Original-Sender: ralph@ralphschindler.com X-Host-Fingerprint: 209.85.214.170 mail-ob0-f170.google.com Received: from [209.85.214.170] ([209.85.214.170:35284] helo=mail-ob0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 84/21-13635-C0E37EF4 for ; Sun, 24 Jun 2012 12:19:24 -0400 Received: by obfk16 with SMTP id k16so6192687obf.29 for ; Sun, 24 Jun 2012 09:19:21 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding :x-gm-message-state; bh=fobv2Lo36Vt0KeGWETWaQ37+GUO+nWDR2bHNcPHFXfs=; b=bdmg4lZsSzejKmXVN70T0wLMoRUVkNX6wmW8H7uMJz/t2rroh2yGN/GWteggzVQ17n 10ylPu3qsYTGrqC/23AGFI/7ZWQYP4MPf4vzpgksxkiFXSTKYgrE8pVC79CjcjOL9+N2 wtdJ5IAJMth+0+jobu1JPDYlaWEQMFkklAH2uPJOiyBHaFa4kFnYbnMbOsjRcH1eJ8Z3 gok2DjVh9cDMh0bIQZyeTQJAQGo/dPh7a41xQe1CHYBvkuTbh4BIXnzpu3S6Fjwc+LCS THG+HwoRIeINFY7JV9GcuT5V2OZnvnHa1sIyNJLm5f3Wcy4vQ+au/wLPgGf5V5GS279C pv4Q== Received: by 10.60.22.201 with SMTP id g9mr9334859oef.8.1340554761337; Sun, 24 Jun 2012 09:19:21 -0700 (PDT) Received: from ralph-macbook.local (ip174-73-14-247.no.no.cox.net. [174.73.14.247]) by mx.google.com with ESMTPS id g3sm23583261oeb.5.2012.06.24.09.19.20 (version=SSLv3 cipher=OTHER); Sun, 24 Jun 2012 09:19:20 -0700 (PDT) Message-ID: <4FE73E07.8060608@ralphschindler.com> Date: Sun, 24 Jun 2012 11:19:19 -0500 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.9) Gecko/20061207 Thunderbird/1.5.0.9 Mnenhy/0.7.4.666 MIME-Version: 1.0 To: internals@lists.php.net References: <4FE3759D.4010606@php.net> <4FE449BA.9040108@leo-peltier.fr> <4FE494A9.5040605@php.net> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Gm-Message-State: ALoCoQlOi3vP3OP1eSBvyu1aYzkB/4Io7Gf5JsV1j9lHNvtmf4VLUvQcM+uUhYg0UowQDSc1ytHL Subject: Re: [PHP-DEV] [DRAFT] RFC - array_column() function From: ralph@ralphschindler.com (Ralph Schindler) > 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