Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:68709 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 1555 invoked from network); 30 Aug 2013 09:07:46 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 30 Aug 2013 09:07:46 -0000 Authentication-Results: pb1.pair.com smtp.mail=julienpauli@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=julienpauli@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.220.171 as permitted sender) X-PHP-List-Original-Sender: julienpauli@gmail.com X-Host-Fingerprint: 209.85.220.171 mail-vc0-f171.google.com Received: from [209.85.220.171] ([209.85.220.171:42358] helo=mail-vc0-f171.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id E2/76-64695-2E060225 for ; Fri, 30 Aug 2013 05:07:46 -0400 Received: by mail-vc0-f171.google.com with SMTP id ij15so1119556vcb.16 for ; Fri, 30 Aug 2013 02:07:43 -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:from:date:message-id :subject:to:cc:content-type; bh=cja6ror8TsCiboWf8dfe6t3mk8BguE3rip58PCOfBIY=; b=oBpZ+KXyzxNT4kY6dxOXpsRZB6jvfOZ80nCiw5BKtG6I8FwOdaxFqEJ8W3+LY6CG3U jgDfyQq58ppLDFZQkreKr9Aiumkp3ZpRl0nTkwFL/LSNpGUj8SFkf1KqnUch3EtSDAf8 S8Syk2JbdadbmDEyqFOlNQUKr0aGDeQGeookGsZWKKxjcn+9F5/CBCA7OXGeYrbSktSs UJkQTo2INvMtQF42X6TIqX95nTtLJqCmvMXyVcInL18DTm0WPsztFGsKYTnByDYwldQV OdfYUeSWzZEsJNryW5J4LU/VX3N9DOcZnJS322jYKrdTXcnrc3rIQljatBW1TpvQAwkL Hb6A== X-Received: by 10.52.99.66 with SMTP id eo2mr5679144vdb.18.1377853663124; Fri, 30 Aug 2013 02:07:43 -0700 (PDT) MIME-Version: 1.0 Sender: julienpauli@gmail.com Received: by 10.220.73.197 with HTTP; Fri, 30 Aug 2013 02:07:02 -0700 (PDT) In-Reply-To: <52205E39.5020202@seld.be> References: <521EE223.9060702@fedoraproject.org> <52205E39.5020202@seld.be> Date: Fri, 30 Aug 2013 11:07:02 +0200 X-Google-Sender-Auth: bKSCprI8F0ABFvJq0h67mkYry2E Message-ID: To: Jordi Boggiano Cc: PHP Internals Content-Type: multipart/alternative; boundary=20cf307f37c224a1e204e5268e7a Subject: Re: [PHP-DEV] [RFC] Switch from json extension to jsonc [Discussion] From: jpauli@php.net (Julien Pauli) --20cf307f37c224a1e204e5268e7a Content-Type: text/plain; charset=ISO-8859-1 On Fri, Aug 30, 2013 at 10:56 AM, Jordi Boggiano wrote: > On 29.08.2013 09:52, Zeev Suraski wrote: > > I have to say that I'm not wildly enthusiastic about making this change > over > > what appears to be a fairly minor comment in the license, and without > even > > going into the discussion as to why we want to promote Evil :) > > > > The main concerns I have are: > > * Downwards compatibility. We've found one potential issue, how can we > > guarantee that there aren't others when we deal with a completely > different > > implementation? I think that users that bump into apps suddenly > breaking in > > obscure edge cases will not be very understanding when we explain to them > > that we did that over a licensing quirk - that I'm willing to bet they'll > > say isn't applicable to them... > > * Performance. Again, for the same reasons, I think it'll be difficult > for > > us to defend this decision in this context as well. We switched to a 2x > > slower implementation over this? Really? > > > > I think that a better alternative would be enabling ext/jsonc to take > over > > the ext/json symbol space so that people who care about the license > issue, > > and/or are interested in the extra features - will be able to take > advantage > > of it as a drop-in replacement. Debian can come with this switch turned > on. > > I think it'd be best to resolve this in PHP because otherwise it means > Debian (& Fedora?) users will have the bad surprise of a quirky > implementation when deploying to prod, and I can imagine the > impossible-to-reproduce issues that will follow. > I would say, to stay in the pipe, that then it would be a Debian issue, not a PHP one. > > That said, your last proposal of at least having a switch in php like > --enable-evil-json sounds better than the current state. If we do have > an equivalent implementation though we might as well throw away the > existing one instead of keeping two IMO, but that's a detail. > Seems good. Julien.Pauli --20cf307f37c224a1e204e5268e7a--