Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:61056 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 96128 invoked from network); 30 Jun 2012 23:14:34 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 30 Jun 2012 23:14:34 -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.217.170 as permitted sender) X-PHP-List-Original-Sender: nikita.ppv@gmail.com X-Host-Fingerprint: 209.85.217.170 mail-lb0-f170.google.com Received: from [209.85.217.170] ([209.85.217.170:41399] helo=mail-lb0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 52/85-58870-8588FEF4 for ; Sat, 30 Jun 2012 19:14:33 -0400 Received: by lbgc1 with SMTP id c1so6962249lbg.29 for ; Sat, 30 Jun 2012 16:14: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:content-type; bh=nDevp7grtZI/kOH2UfxQlJgBhh5N6z9VR93jJfcw+Qk=; b=V+AtATJH7q9fw0tAi2ARtCju+KCvqWDJGaIBFBK+yZ1vN7E2NZNHi6MeCpJK6SbG/U cJRLUVlEAYNMTEI+h4u7N5tHwFpIgn03LIcBPR5Y6KcUNXVd5iS9O1DwVa1RZIUw/0Ef qc8KEdHmxw15lNQtNjiqTxWxjUap5AgVLhm49KwUXBf+/uvJeKmXX+re4Ymr8kwo/f6g tAQ1FVzbD+vYu7fJzSWjXXLKFljx8hgSAbMEef/kDbya3N/e9ipbonTK4BY/kRVshFuU eKaRl/v76rH9NnThdu5bDTKWFacA8r4RVBbMf870/R+RDg8LGNQUcySJllJaZ8q3xgws 8Log== MIME-Version: 1.0 Received: by 10.112.49.68 with SMTP id s4mr3663758lbn.27.1341098069258; Sat, 30 Jun 2012 16:14:29 -0700 (PDT) Received: by 10.152.114.70 with HTTP; Sat, 30 Jun 2012 16:14:29 -0700 (PDT) In-Reply-To: <4FEF84D8.20107@sugarcrm.com> References: <4FEF84D8.20107@sugarcrm.com> Date: Sun, 1 Jul 2012 01:14:29 +0200 Message-ID: To: Stas Malyshev Cc: Nikita Popov , =?ISO-8859-1?Q?Johannes_Schl=FCter?= , Pierre Joye , David Soria Parra , PHP Internals Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: JSON changes in 5.3/5.4 From: nikita.ppv@gmail.com (Nikita Popov) On Sun, Jul 1, 2012 at 12:59 AM, Stas Malyshev wrote: > Hi! > > I see that there were significant changes committed to JSON extension in > 5.3 and 5.4 recently. These changes modify json_encode behavior, break > tests (pass001.1_64bit.phpt does not work anymore for me), are not > clearly documented and have no NEWS/UPGRADING entries describing what > exactly changed, had no RFC, use new function with name inconsistent > with all existing functions with the same semantics > (json_last_error_msg) and IMO do not belong in stable branches, > especially not done this way. > > I intend to release 5.4.5 RC1 next week, and I want this matter to be > cleared up before that, because I can not release it in this state. So > we have two options here: > 1. Revert everything to 5.4.4 state and deal with it in 5.5 or maybe in > 5.4.6 if it'd be ready. > 2. Have it cleaned up ASAP and brought to a state where there are no > test failures and there's a clear description of what the changes were > in NEWS and UPGRADING. > > I think option 2 is better, but if it can not happen by EOD Tuesday > (July 3) I intend to go with option 1. Nikita, please advise how you > prefer to proceed with this. > > Johannes, do you want me to revert it in 5.3 branch too in case we have > to go with option 1? Hi Stas! If you are okay with the changes in principle, I will fix the remaining issues asap. If you think that the changes are too intrusive for release branches, I'll gladly revert them for 5.3/5.4. I didn't quite expect that there will be so many changes. Apart from that one test, does anything else fail for you? I didn't notice that one test because I'm running on 32bit. Regarding documentation, should these changes be documented in detail in NEWS? Or does it suffice to update the documentation? For UPGRADING, which one should it go in? Just 5.3? Nikita