Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:34832 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 74520 invoked by uid 1010); 20 Jan 2008 03:30:36 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 74505 invoked from network); 20 Jan 2008 03:30:36 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 20 Jan 2008 03:30:36 -0000 Received: from [127.0.0.1] ([127.0.0.1:11780]) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ECSTREAM id 81/61-54645-B50C2974 for ; Sat, 19 Jan 2008 22:30:35 -0500 X-Host-Fingerprint: 76.233.7.229 adsl-76-233-7-229.dsl.mrdnct.sbcglobal.net Received: from [76.233.7.229] ([76.233.7.229:20658] helo=localhost.localdomain) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 49/51-54645-E7FB2974 for ; Sat, 19 Jan 2008 22:26:54 -0500 Message-ID: <49.51.54645.E7FB2974@pb1.pair.com> To: internals@lists.php.net Date: Sat, 19 Jan 2008 22:26:39 -0500 User-Agent: Thunderbird 2.0.0.9 (X11/20071031) MIME-Version: 1.0 References: <47872F12.7070304@daylessday.org> In-Reply-To: <47872F12.7070304@daylessday.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Posted-By: 76.233.7.229 Subject: Re: [PHP-DEV] [RFC] Square brackets shortcut From: djahandarie@gmail.com (Darius Jahandarie) Antony Dovgal wrote: > On 10.01.2008 13:07, Ryusuke SEKIYAMA wrote: >> Hello, lists, >> >> I'm tired to type "array()" many times. > > -1 > > The parser in my head is unable to parse this: > $var=["str"]; > $var["str"]=1; > ?> > Eh, that would just come out as [ 0 => "str", "str" => 1 ] Not too problematic in my mind. +1 for square brackets.