Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:52604 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 24654 invoked from network); 31 May 2011 22:12:00 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 31 May 2011 22:12:00 -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.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:62596] helo=mail-px0-f173.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 30/53-25701-FA765ED4 for ; Tue, 31 May 2011 18:12:00 -0400 Received: by pxi16 with SMTP id 16so3059108pxi.18 for ; Tue, 31 May 2011 15:11:56 -0700 (PDT) Received: by 10.143.25.35 with SMTP id c35mr931415wfj.406.1306879916601; Tue, 31 May 2011 15:11:56 -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 p5sm395655pbk.20.2011.05.31.15.11.55 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 31 May 2011 15:11:55 -0700 (PDT) Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=us-ascii In-Reply-To: <4DE5666A.3080506@lerdorf.com> Date: Tue, 31 May 2011 15:11:54 -0700 Cc: Michael Shadle , PHP internals Content-Transfer-Encoding: quoted-printable Message-ID: References: <4DE5368A.6050603@moonspot.net> <2BFFEAC1-395E-4101-9452-002E63DCFD91@seancoates.com> <4DE55AB7.9050206@lerdorf.com> <4DE55CDA.302@sugarcrm.com> <4DE5666A.3080506@lerdorf.com> To: Rasmus X-Mailer: Apple Mail (2.1084) Subject: Re: [PHP-DEV] RFC: Short syntax for Arrays (redux) From: philip@roshambo.org (Philip Olson) On May 31, 2011, at 3:06 PM, Rasmus wrote: > On 05/31/2011 02:59 PM, Michael Shadle wrote: >> Forgive me for injecting my $.02 here but what is the original reason >> for changing the most basic language syntax to be a little bit >> shorter? >>=20 >> Is it hurting anyone to type out "array()" or something? >>=20 >> I think it is silly that "shortening array syntax" is up for >> discussion but ensuring Unicode compatibility isn't a higher = priority. >> Not to mention named parameters in functions. Or Consistent naming = for >> functions str_* vs str*, needle/haystack ordering, etc. If you're >> wanting to augment or change fundamentals of the language why not >> clean some stuff up there first? >=20 > Because most of those can't be done without breaking millions of lines > of code out there. And a couple of people worked on Unicode for years > and got very little support. That is not a small project. This short > syntax for arrays is probably the most requested PHP feature right now > and we have a working patch that doesn't break any existing code so = the > effort involved is minimal. If you have a working patch that solves = the > Unicode issues, by all means, show us. And because this mailing list thread is about 'short syntax for arrays' = and not the other items you mentioned. If you're interested in another = topic, or have a proposal, then please do so as a different thread. Regards, Philip=