Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:52150 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 56455 invoked from network); 9 May 2011 16:18:19 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 9 May 2011 16:18:19 -0000 Authentication-Results: pb1.pair.com smtp.mail=philip@roshambo.org; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=philip@roshambo.org; sender-id=unknown Received-SPF: error (pb1.pair.com: domain roshambo.org from 209.85.214.170 cause and error) X-PHP-List-Original-Sender: philip@roshambo.org X-Host-Fingerprint: 209.85.214.170 mail-iw0-f170.google.com Received: from [209.85.214.170] ([209.85.214.170:61547] helo=mail-iw0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id C2/58-20726-7C318CD4 for ; Mon, 09 May 2011 12:18:16 -0400 Received: by iwn3 with SMTP id 3so5466345iwn.29 for ; Mon, 09 May 2011 09:18:12 -0700 (PDT) Received: by 10.231.117.7 with SMTP id o7mr4750594ibq.46.1304957891837; Mon, 09 May 2011 09:18:11 -0700 (PDT) Received: from [192.168.1.138] ([67.137.12.10]) by mx.google.com with ESMTPS id u17sm2698282ibm.62.2011.05.09.09.18.09 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 09 May 2011 09:18:10 -0700 (PDT) Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=us-ascii In-Reply-To: <4DC7A7F0.4000504@sugarcrm.com> Date: Mon, 9 May 2011 10:18:08 -0600 Cc: Rasmus Lerdorf , PHP Internals Content-Transfer-Encoding: quoted-printable Message-ID: References: <4DC729EE.9090600@sugarcrm.com> <4DC75FFF.40008@lerdorf.com> <4DC7A7F0.4000504@sugarcrm.com> To: Stas Malyshev X-Mailer: Apple Mail (2.1084) Subject: Re: [PHP-DEV] 5.4 again From: philip@roshambo.org (Philip Olson) On May 9, 2011, at 2:38 AM, Stas Malyshev wrote: > Hi! >=20 >> I see the array shortcuts are on your todo discussion list there. We >> probably shouldn't get into a full discussion on that since it will = span >> hundreds of messages. But if any of the folks who voted no last time >> around have changed their minds, it would be good to know. And before >> deciding, try using MongoDB from PHP for a couple of weeks. :) >=20 > I agree on both discussion point and MongoDB point :) I think for = things that were already discussed extensively it makes sense to have a = vote in case people changed their minds and discuss at length only if = they have something new to say - like proposing new approach to the = problem - which is this case probably won't happen. 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[1].=20 And on a related note for those at home, function array dereferencing[2] = has already been implemented in trunk. Also, there could probably be a discussion dedicated to arrays as other = features/shortcuts like slicing has casually been discussed. [1] https://wiki.php.net/rfc/shortsyntaxforarrays [2] https://wiki.php.net/rfc/functionarraydereferencing Regards, Philip