Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:93487 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 2864 invoked from network); 24 May 2016 16:37:30 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 24 May 2016 16:37:30 -0000 Authentication-Results: pb1.pair.com smtp.mail=nikita.ppv@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=nikita.ppv@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.161.172 as permitted sender) X-PHP-List-Original-Sender: nikita.ppv@gmail.com X-Host-Fingerprint: 209.85.161.172 mail-yw0-f172.google.com Received: from [209.85.161.172] ([209.85.161.172:33379] helo=mail-yw0-f172.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 2D/23-10476-94384475 for ; Tue, 24 May 2016 12:37:29 -0400 Received: by mail-yw0-f172.google.com with SMTP id h19so21512999ywc.0 for ; Tue, 24 May 2016 09:37:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc; bh=u6BtCW8FtQalYRYyZdD+HR+jer0BRefVOMYpJ3w2Ml0=; b=hstNm9jdjBj7AmbILh19FNReYJ13BGPdNaS/VZx3zMZC9FYiLM9VLNHjOBkruAkJ23 O/BhE6eWagD1E5BmVWBa3TMMaV7qKHNhnBZJzHUctzMxcJMWVr+TCo9F7o8ODxe+yU4b VpK591HX1BIyiRxZNQEO7H4thrjrrQIOiqKaS//n5stgI5LRNvCOnC4gBwanq28nOa8n ZXAr/zwoJfboz4TTBYQC0b8QaBOukb1X9zQ6G3ZK00jjRZcX7ZPLku73oPkYptOfXLQj LbGnxR9c5G1BIL3K3lNFG+39GLgytdkvKHN/gU99kFbB+ANtQaYwzzDbYIsIZ8591U0m H15A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc; bh=u6BtCW8FtQalYRYyZdD+HR+jer0BRefVOMYpJ3w2Ml0=; b=eN0ZTg5Aj/YSWFazysYL27zemCWMX0AQDyVQo+/QiVJlVpsZIjNT8y1zAHPkZDlkI+ WWKrfRZj66yyeJAdCG1hhcf6jHQUkU4l+6cA03n/KucWG948Hf65iGpA5H4HcKmOGzcf OxgLY8gTTCwJCOMYfD3gC/8c8r/pBYmQKZhfFvCLuo9uFe/3egnwyj+o3XTu8GLyfMIO mTyfkgdcZKd6teQvv5r52pVGnd4ZE6as2ohvuwGXg1ff1aTrnNIdM7Ty4rbImkcHO3ZG GTo2HFAHXVU6ooFvg218PZ79MnIzPVp4B3cQxvo8Xqc3KvfLzhv5UQ7gKrZS4E9RjnG0 mLCw== X-Gm-Message-State: ALyK8tKfbLJl4DMWrdAY8l2dJ+8Pg3TCa2S8ZLgYqwwx1hap+vISvtRo71pNsgV2x3sfNmsP3+MLGAbiBRBwRw== MIME-Version: 1.0 X-Received: by 10.129.71.135 with SMTP id u129mr3264677ywa.162.1464107847235; Tue, 24 May 2016 09:37:27 -0700 (PDT) Received: by 10.13.239.3 with HTTP; Tue, 24 May 2016 09:37:27 -0700 (PDT) In-Reply-To: References: Date: Tue, 24 May 2016 18:37:27 +0200 Message-ID: To: Jakub Zelenka Cc: PHP internals Content-Type: multipart/alternative; boundary=001a114d749025c26c0533992c0d Subject: Re: [PHP-DEV] Allow empty property names From: nikita.ppv@gmail.com (Nikita Popov) --001a114d749025c26c0533992c0d Content-Type: text/plain; charset=UTF-8 On Sun, May 8, 2016 at 5:04 PM, Jakub Zelenka wrote: > Hi, > > I have been thinking about it and I would be ok with removing _empty_ in > 7.1. That inconsistency is quite annoying and I never liked it. If we can > rid of it, that would be great! I realise the BC concern but I see that > more as a limitation and inconsistency between array and object decoding. > It's more an edge case anyway so I don't think there should be a big > concern. I think that it makes sense to hear if anyone would be against it > in json but I think that the limitation could go away already as it has > been discussed more than a month ago and I don't see any real objections. > > @Nikita: if you merge it, I will be happy to create a PR for json... > > Cheers > > Jakub > Sorry for the delay, I've merged the patch now: https://github.com/php/php-src/commit/674297c7e41013c2c34d770051714518d0586271 Nikita --001a114d749025c26c0533992c0d--