Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:34701 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 63471 invoked by uid 1010); 11 Jan 2008 12:02:05 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 63443 invoked from network); 11 Jan 2008 12:02:05 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 11 Jan 2008 12:02:05 -0000 Authentication-Results: pb1.pair.com header.from=info@adaniels.nl; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=info@adaniels.nl; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain adaniels.nl from 82.94.236.173 cause and error) X-PHP-List-Original-Sender: info@adaniels.nl X-Host-Fingerprint: 82.94.236.173 loco.helderhosting.nl Linux 2.5 (sometimes 2.4) (4) Received: from [82.94.236.173] ([82.94.236.173:53095] helo=loco.helderhosting.nl) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 70/06-27385-9BA57874 for ; Fri, 11 Jan 2008 07:02:02 -0500 Received: from [192.168.1.13] (s559085ca.adsl.wanadoo.nl [85.144.133.202]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by loco (Postfix) with ESMTP id 6A6F0C1823E for ; Fri, 11 Jan 2008 13:01:58 +0100 (CET) Message-ID: <27ED2278-A670-475D-A29F-E4F4215A215D@adaniels.nl> To: "internals@lists.php.net" In-Reply-To: <98b8086f0801110355r535de67bp8b5eb5e4e7866482@mail.gmail.com> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes X-Mailer: iPhone Mail (1C28) Mime-Version: 1.0 (iPhone Mail 1C28) Content-Transfer-Encoding: 7bit Date: Fri, 11 Jan 2008 13:01:50 +0100 References: <698DE66518E7CA45812BD18E807866CE011C7C7E@us-ex1.zend.net> <08.94.51656.F8937874@pb1.pair.com> <1200048864.4755.9.camel@johannes.nop> <36.21.27385.B1F47874@pb1.pair.com> <4787530E.3000009@krug.dk> <5947f2ab0801110349y3a733854yd9093593e248e882@mail.gmail.com> <98b8086f0801110355r535de67bp8b5eb5e4e7866482@mail.gmail.com> Subject: Re: [PHP-DEV] Re: Array syntax [] From: info@adaniels.nl (Arnold Daniels) -1 On Jan 11, 2008, at 12:55 PM, "troels knak-nielsen" wrote: > One problem, I have with this proposal is, that it isn't much like > javascript anyway. In javascript, there is a distinction between array > and hashmap, with different syntaxes. If anything, the syntax should > probably be {'foo' => 1, 'bar' => 2}. > I don't think the added noise is worth it though, since we already > have a syntax, which has worked for a decade. Having two different > syntaxes, for the exact same thing, isn't that great an idea. All > IMHO, of course. > -1 for those counting. > > -- > troels > (Which is in fact pronounced trolls) > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php >