Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:74695 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 95351 invoked from network); 2 Jun 2014 09:13:51 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 2 Jun 2014 09:13:51 -0000 Authentication-Results: pb1.pair.com header.from=arvids.godjuks@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=arvids.godjuks@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.192.53 as permitted sender) X-PHP-List-Original-Sender: arvids.godjuks@gmail.com X-Host-Fingerprint: 209.85.192.53 mail-qg0-f53.google.com Received: from [209.85.192.53] ([209.85.192.53:59763] helo=mail-qg0-f53.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 65/CC-15017-E404C835 for ; Mon, 02 Jun 2014 05:13:51 -0400 Received: by mail-qg0-f53.google.com with SMTP id f51so10098878qge.40 for ; Mon, 02 Jun 2014 02:13:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=BdhK+3LomM7MG6uplyiRzRuUUtZbqZzDiB04gWOGtkY=; b=B8eWfJharw9n/KYSiuQz/bzbOtCTw3zX2XBCn6jG9pPdsDZv1brXqP40IL76cv149M OfIKq4fnUheLv1qObbzyogHc9meGLpY2PPZh8lCjkMtu8ZYTwQuXDkwYjiNJzTDGSMdp /vsfnLJd8uN1vWeUsvw7UPhvJoyWtkbFtOktvehJlMR8QgJ9YaakdY1AXEyQ0j8fxxrA +x7x/GmjkR7ZW+WrqJRn1fJOiVJoXEmlXavAnKxnJAfK/RIFhNFTvFKoyQT9yxHwNQKf CuIHKqt7a9Zseoha1nog2ogVRJq30T6xenERPnU4nRz9lYLs5O7valZi4miTlpZ8rP/E erLw== X-Received: by 10.140.84.168 with SMTP id l37mr44463526qgd.104.1401700428108; Mon, 02 Jun 2014 02:13:48 -0700 (PDT) MIME-Version: 1.0 Received: by 10.140.97.246 with HTTP; Mon, 2 Jun 2014 02:13:28 -0700 (PDT) In-Reply-To: <1401699341.2282.13.camel@guybrush> References: <6E3D6B3F-1BD6-42A2-B59C-12B9D6D597ED@ajf.me> <1401699341.2282.13.camel@guybrush> Date: Mon, 2 Jun 2014 12:13:28 +0300 Message-ID: To: =?UTF-8?Q?Johannes_Schl=C3=BCter?= Cc: Andrea Faulds , PHP internals Content-Type: multipart/alternative; boundary=001a11c117081974f604fad6d00e Subject: Re: [PHP-DEV] [RFC] Bare Name Array From: arvids.godjuks@gmail.com (Arvids Godjuks) --001a11c117081974f604fad6d00e Content-Type: text/plain; charset=UTF-8 I'm personally against it adding :> It's just pointles and kind'a looks like an object access. Not to mention that one time access that deep is normal. but if you are looping through a lot of data - it's quite an overhead and encoruaging users to do it that way is just plain wrong to me. As to the 'stringKey' : 3 - don't realy have anything against it, just the readability is not that great when you put it in on larger array definitions. => is very clear about what you are looking at and what it does and is very visible. So, personaly I would prefer to have just one way of defining key => value in PHP code. --001a11c117081974f604fad6d00e--