Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:52619 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 65158 invoked from network); 1 Jun 2011 02:39:35 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 1 Jun 2011 02:39:35 -0000 Authentication-Results: pb1.pair.com smtp.mail=adam@adamharvey.name; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=adam@adamharvey.name; sender-id=pass; domainkeys=bad Received-SPF: pass (pb1.pair.com: domain adamharvey.name designates 209.85.210.170 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: adam@adamharvey.name X-Host-Fingerprint: 209.85.210.170 mail-iy0-f170.google.com Received: from [209.85.210.170] ([209.85.210.170:60098] helo=mail-iy0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 27/21-55965-666A5ED4 for ; Tue, 31 May 2011 22:39:34 -0400 Received: by iyb12 with SMTP id 12so5503572iyb.29 for ; Tue, 31 May 2011 19:39:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=adamharvey.name; s=google; h=domainkey-signature:mime-version:sender:in-reply-to:references:from :date:x-google-sender-auth:message-id:subject:to:content-type; bh=woft7pd20G6rMz5h03+DFC8Fn3tufmKJjLMOjLG18Dc=; b=PwnWgqMQmXTM59ERoppfKljeJSqvMlBKMsXSp/xbMVs8YUARU9zZuWrAKABRWww2b9 6j+AEr0KBQebXMQm78MwIx1zp/8tPsVgizOQTyjuGNVBlIudeWMxgDP9bsVVsIYVTmoI 91fUQ9va/tPvqQZ46GEa/37LpTk6R1LQPMbT8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=adamharvey.name; s=google; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:content-type; b=a/PLGZY9TxH68F0q0m7Bii2mOSsBXL93QDu+0q03z30BgYTdERjcKOV2h+rLUuZpHA DWThXt7jjNTrE+CDMD7SFOfF7TjSZVKFkg0lHFvSl0WOErZDrdOHZ3iXzQUfo38AwDV2 SUpQh7sOQE5UGhHnzTqRZJSFNKh21vkshJ4Yg= Received: by 10.231.80.2 with SMTP id r2mr8905373ibk.92.1306895971733; Tue, 31 May 2011 19:39:31 -0700 (PDT) MIME-Version: 1.0 Sender: adam@adamharvey.name Received: by 10.231.147.72 with HTTP; Tue, 31 May 2011 19:39:09 -0700 (PDT) In-Reply-To: References: Date: Wed, 1 Jun 2011 10:39:09 +0800 X-Google-Sender-Auth: j0zva7WWMpL3PA-U52vKnQnG-Oc Message-ID: To: PHP internals Content-Type: text/plain; charset=UTF-8 Subject: Re: [PHP-DEV] Re: RFC: Short syntax for Arrays (redux) From: aharvey@php.net (Adam Harvey) On 1 June 2011 08:57, Etienne Kneuss wrote: > +1 for a short array syntax. > > But only if you keep it consistent, PHP has always been using => for > key/val association, I don't see any reason to suddenly provide "key": > "val", unless what you want is to confuse people. Agreed here: +1 for short array syntax using =>; -0 for short array syntax using colons. PHP isn't JSON, and I'd rather be consistent with previous PHP syntax, given the choice. Adam