Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:52569 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 50849 invoked from network); 31 May 2011 19:06:08 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 31 May 2011 19:06:08 -0000 Authentication-Results: pb1.pair.com header.from=philip@roshambo.org; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=philip@roshambo.org; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain roshambo.org from 209.85.212.173 cause and error) X-PHP-List-Original-Sender: philip@roshambo.org X-Host-Fingerprint: 209.85.212.173 mail-px0-f173.google.com Received: from [209.85.212.173] ([209.85.212.173:47523] helo=mail-px0-f173.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 1F/34-25701-E1C35ED4 for ; Tue, 31 May 2011 15:06:08 -0400 Received: by pxi16 with SMTP id 16so2968005pxi.18 for ; Tue, 31 May 2011 12:06:03 -0700 (PDT) Received: by 10.68.36.10 with SMTP id m10mr2718005pbj.224.1306868763771; Tue, 31 May 2011 12:06:03 -0700 (PDT) Received: from c-24-19-164-241.hsd1.wa.comcast.net (c-24-19-164-241.hsd1.wa.comcast.net [24.19.164.241]) by mx.google.com with ESMTPS id p5sm261273pbd.76.2011.05.31.12.06.02 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 31 May 2011 12:06:03 -0700 (PDT) Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=us-ascii In-Reply-To: <4DE5368A.6050603@moonspot.net> Date: Tue, 31 May 2011 12:06:01 -0700 Cc: PHP internals Content-Transfer-Encoding: quoted-printable Message-ID: <6E76E726-2031-4B77-9E4A-2F15D0D0E469@roshambo.org> References: <4DE5368A.6050603@moonspot.net> To: Brian Moon X-Mailer: Apple Mail (2.1084) Subject: Re: [PHP-DEV] RFC: Short syntax for Arrays (redux) From: philip@roshambo.org (Philip Olson) A few notes worth mentioning: - That RFC moved from fail to 'under discussion' a few weeks ago, = although it hasn't been edited - Most people are now for it, or at least that's the general feeling on = IRC (#php.pecl) these past few weeks - Discussing it is on the 5.4 TODO ( https://wiki.php.net/todo/php54 ) And since I voted against it last time around, here's my take (quoting = myself here from the recent 5.4 thread): "I'm changing my old vote, so -1 to +1. Changes and additions to syntax = may (or may not) slow adoption, but since other such changes are being = made then let's do it. And while explicit code (e.g., array()) is nice, = many people are familiar with array shortcuts." I think the main question is if related features (e.g., inline array = slicing) should also be implemented. Once upon a time the $arr{} syntax = almost did that. Regards, Philip