Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:60937 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 79814 invoked from network); 22 Jun 2012 15:52:17 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 22 Jun 2012 15:52:17 -0000 Authentication-Results: pb1.pair.com smtp.mail=ben@benramsey.com; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=ben@benramsey.com; sender-id=unknown Received-SPF: error (pb1.pair.com: domain benramsey.com from 209.85.213.170 cause and error) X-PHP-List-Original-Sender: ben@benramsey.com X-Host-Fingerprint: 209.85.213.170 mail-yx0-f170.google.com Received: from [209.85.213.170] ([209.85.213.170:61562] helo=mail-yx0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id C4/2D-21324-0B494EF4 for ; Fri, 22 Jun 2012 11:52:17 -0400 Received: by yenl12 with SMTP id l12so1909626yen.29 for ; Fri, 22 Jun 2012 08:52:13 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=sender:message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding :x-gm-message-state; bh=XAP5E7loo2d6BOECLAq5qa3BkYQpha1rO9p+pDVBJPs=; b=mYydNqF8NFI8ObOElwh5SZUSlhiog2Q9UE/HgfwpxbSRNRfMVvIwQcrugBN4cMrC4e GrTy0s+omrCPL0Aet8zaXoJK2AuF+UHciykYhtdcPf2jo5YMM8EzwsyTrWmT6+oSjjqv mmHYPg06G0x7y/nRisWpUhL8Q4ac+mjXnO5MWqigBygAgFzonlO+MLeONWZ97U+noGiA 3RGckCv45TESmS3uF4oXP+cc+vmFvSUyDBYxFTgWZSj5xIHlurg+C6E4tEvEnOT3fsBs D0EQwn7dDrhSjnGN+4uoMqMxBQWJzleMRg9AlfQInyUVFhypsyHWTrLBPKVA4vvaYj8h tN+g== Received: by 10.236.195.72 with SMTP id o48mr2965682yhn.37.1340380333821; Fri, 22 Jun 2012 08:52:13 -0700 (PDT) Received: from earendil.local (w194.z064002187.mco-fl.dsl.cnc.net. [64.2.187.194]) by mx.google.com with ESMTPS id z9sm115159734yhl.6.2012.06.22.08.52.10 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 22 Jun 2012 08:52:11 -0700 (PDT) Sender: Ben Ramsey Message-ID: <4FE494A9.5040605@php.net> Date: Fri, 22 Jun 2012 10:52:09 -0500 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:13.0) Gecko/20120614 Thunderbird/13.0.1 MIME-Version: 1.0 To: contact@leo-peltier.fr CC: internals@lists.php.net References: <4FE3759D.4010606@php.net> <4FE449BA.9040108@leo-peltier.fr> In-Reply-To: <4FE449BA.9040108@leo-peltier.fr> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Gm-Message-State: ALoCoQmedkBX1HTAIAvYHabIiHUpzsJeT22iSlywWP4M3etRX0l4MX0IiqYLj7FOVLH4eHOv1PW3 Subject: Re: [PHP-DEV] [DRAFT] RFC - array_column() function From: ramsey@php.net (Ben Ramsey) On 6/22/12 5:32 AM, Léo Peltier wrote: > Hi, > > Shouldn't this be called 'array_pluck'? > This is the name people usually use when implementing it in PHP (see > "array_pluck(" vs "array_column(" in Google) or in other languages/libs > (see underscorejs, prototypejs and RoR). > I'm open to changing or aliasing the name to array_pluck(), if others are in agreement. -Ben