Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:64872 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 78661 invoked from network); 12 Jan 2013 00:36:18 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 12 Jan 2013 00:36:18 -0000 Authentication-Results: pb1.pair.com header.from=mjpelmear@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=mjpelmear@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.160.49 as permitted sender) X-PHP-List-Original-Sender: mjpelmear@gmail.com X-Host-Fingerprint: 209.85.160.49 mail-pb0-f49.google.com Received: from [209.85.160.49] ([209.85.160.49:37943] helo=mail-pb0-f49.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id F1/11-02940-200B0F05 for ; Fri, 11 Jan 2013 19:36:18 -0500 Received: by mail-pb0-f49.google.com with SMTP id un15so1221856pbc.22 for ; Fri, 11 Jan 2013 16:36:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:message-id:date:from:user-agent:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=/eR2fhdaLYI/Q3D8UDNjgYON2QxflBcYspUVNrarR8E=; b=NxyXkQ8R0hw+gVU1eQnxfN5n0UJLEerFMN0IHIraEU158LnSJENLf+omwnT6HTSYea JAhwV0dp5Rbg+RjK8w9HdgqgDJnVFo0JhPA4m+rRMW/x0iMWiLbYJVQhFft7P+2Gjtug 86yHAJFixbEIoUX4j+p3KhQZVO50M+7PqPleZHcbjy0yGNanZsoL+NxDvBpZ2bLIiH7g iGSmUZ0Oar0ANYEduPCadayOWls0o0BXCKHBcPd5wbessjRBCvvj4GS1tTpMnDW+pxYY i9AMpcZbIOmlh6TRGzsUqKMHvaLJDOhdL1kjtl8rA7qIxhvtIJGxop5uL7d0zQ90SwRa gC1Q== X-Received: by 10.68.203.132 with SMTP id kq4mr230961403pbc.3.1357950975642; Fri, 11 Jan 2013 16:36:15 -0800 (PST) Received: from [192.168.1.123] (cpe-98-154-250-197.socal.res.rr.com. [98.154.250.197]) by mx.google.com with ESMTPS id wh8sm3607804pbc.75.2013.01.11.16.36.13 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 11 Jan 2013 16:36:14 -0800 (PST) Message-ID: <50F0AFFC.6060607@gmail.com> Date: Fri, 11 Jan 2013 16:36:12 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:14.0) Gecko/20120714 Thunderbird/14.0 MIME-Version: 1.0 To: internals@lists.php.net References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] [VOTE] array_column() function From: mjpelmear@gmail.com (Matt Pelmear) On 01/11/2013 04:17 PM, Ben Ramsey wrote: > I've opened voting for the array_column() function RFC. > > You can vote at https://wiki.php.net/rfc/array_column#voting > > Regards, > Ben > +1 I can't vote, but I support this RFC. This is much, much simpler to use and easier to implement than most other things I've been watching here recently (annotations, list comprehensions), and I work with multiple teams that would definitely benefit from this on a regular basis. That said, I hate function aliases. Can't we have one or the other here, not both? (array_column() vs array_pluck()) -Matt