Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:93628 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 27906 invoked from network); 29 May 2016 19:23:22 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 29 May 2016 19:23:22 -0000 Authentication-Results: pb1.pair.com smtp.mail=jakub.php@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=jakub.php@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.213.46 as permitted sender) X-PHP-List-Original-Sender: jakub.php@gmail.com X-Host-Fingerprint: 209.85.213.46 mail-vk0-f46.google.com Received: from [209.85.213.46] ([209.85.213.46:34079] helo=mail-vk0-f46.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 42/64-23584-8A14B475 for ; Sun, 29 May 2016 15:23:21 -0400 Received: by mail-vk0-f46.google.com with SMTP id c189so200483348vkb.1 for ; Sun, 29 May 2016 12:23:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc; bh=M7ZcmW33aj2OmrCljMH9J7YUY1UeJEeLYVCF1bkdiX0=; b=I18OcPQMl6OGc59Q2cj2QlWLDhpvCHMBxTxjMkXAkAXiEXT05wsbx53HC7ROrpWpED RpMC7c2akFe3tHqnqCMY1LPei0yYJxT//iXcYNjWJuwadyn2DWo9XpeDA4+jtEq+eeMf KACBGPVBHRex3wQIbuh6Ab8eLfI7lqvIRpEMctsrPo2KQ6xvaRTcQNW4eHBFxVvzb0EQ 90WEJMvLS/zlhrIcxZVYUFVcseqOmZk4+D5+PsxSGIs0hecrV2GuOD9sE54IL19RFdGP dUiOyRmmnFRZ+SEY2l0q5OfP/bL4JA7A5rT0i/C+4dCueIL/fXVo5JLnj3IbcxJiyzNV wS4w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:date :message-id:subject:from:to:cc; bh=M7ZcmW33aj2OmrCljMH9J7YUY1UeJEeLYVCF1bkdiX0=; b=RxzBAlxxY/OfWEdWqvcbJeD6Yftnl4L49/dE/Cz1tfY7vxImn0m2eQQrelPaCXPwoI ERiPKDBQwUEPf29X7srUWFKktmIMj09Za8lfZIuJOxbe8tLGlxG8SqPslH9lFDizNMCa Zw9W5ZisFnJWSKBbiAlDFsUlmXNA9KGEwcqvZQjRaGmp2qPQShd1UW7Su8TostH9MQ8N znpzOgRSAX5zMfLhuqbQxwV5/TYz8RYn/ZAZzYjlrix9rgAr8dFhmywjrvE/Feyd6wGJ yBZRsOiA5ALHI3R6iosYZ7E7Qt0Lvij35F0oPxhsO/YRdr5lrn59VTAqDWkqptEQN7wb fjeg== X-Gm-Message-State: ALyK8tIZHOpE9r+5Cipi3o1FX40aACY0KuSe3+iS3nfZU4ETObGbKiNlsB2KfMKczagSmAoN0yUEwHpsOdfGdA== MIME-Version: 1.0 X-Received: by 10.31.155.149 with SMTP id d143mr13426357vke.96.1464549798328; Sun, 29 May 2016 12:23:18 -0700 (PDT) Sender: jakub.php@gmail.com Received: by 10.31.172.65 with HTTP; Sun, 29 May 2016 12:23:18 -0700 (PDT) In-Reply-To: References: Date: Sun, 29 May 2016 20:23:18 +0100 X-Google-Sender-Auth: FLqEyZY1Tu7xiiURygmBBx-Qx7g Message-ID: To: Nikita Popov Cc: PHP internals Content-Type: multipart/alternative; boundary=001a113fcd6c7c414a0534001215 Subject: Re: [PHP-DEV] Allow empty property names From: bukka@php.net (Jakub Zelenka) --001a113fcd6c7c414a0534001215 Content-Type: text/plain; charset=UTF-8 On Tue, May 24, 2016 at 5:37 PM, Nikita Popov wrote: > 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 > Thanks. I have just created a PR for json: https://github.com/php/php-src/pull/1926 I will wait a week or two and if there are no objections, I will merge it to master. Cheers Jakub --001a113fcd6c7c414a0534001215--