Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:79948 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 48252 invoked from network); 25 Dec 2014 22:56:26 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 25 Dec 2014 22:56:26 -0000 Authentication-Results: pb1.pair.com header.from=jrbasso@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=jrbasso@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.216.47 as permitted sender) X-PHP-List-Original-Sender: jrbasso@gmail.com X-Host-Fingerprint: 209.85.216.47 mail-qa0-f47.google.com Received: from [209.85.216.47] ([209.85.216.47:54252] helo=mail-qa0-f47.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 9A/A2-31774-9169C945 for ; Thu, 25 Dec 2014 17:56:25 -0500 Received: by mail-qa0-f47.google.com with SMTP id n4so6524535qaq.20 for ; Thu, 25 Dec 2014 14:56:22 -0800 (PST) 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=JDL8dKzzCtBPsNTj3N66n8uUAGP9tKdDh8dMYFp/+To=; b=zNOpWpeH1rfdok6UmbrvFUsnbb0GFajPVi96/Kftq4vOeFvLZ2LmIp3IsVtvrW5t0M OBloEQne3f+k8LKl0Zs6zz/I1huoiFB+IGS4VEsP2mNbsstTGsEWSaXKYJy9OMSzAD0+ 5G7qkk32vEulwy6bv27vvVZ1c7sDHFzuUCNwYQnVLGlLhZ6HiO5Iy+AccCq7IOMGLoN6 z+Gv4QwAwnW9SeYBn0RzB/Ff3/JJ4aSt70wBqWsJLzSMPbDDpmGOmEmy7zl6kPwJxPN8 as9I1ws+3T+r1USPnMWBzI7HjZpdtPmNjcpWzA7qswJwamtcjRMEvu/sl5uUPbMq/xzw y4kw== MIME-Version: 1.0 X-Received: by 10.224.32.69 with SMTP id b5mr33375712qad.53.1419548182397; Thu, 25 Dec 2014 14:56:22 -0800 (PST) Received: by 10.140.17.80 with HTTP; Thu, 25 Dec 2014 14:56:22 -0800 (PST) In-Reply-To: <549C8792.4070505@gmail.com> References: <549C8792.4070505@gmail.com> Date: Thu, 25 Dec 2014 20:56:22 -0200 Message-ID: To: Stanislav Malyshev Cc: PHP Internals Content-Type: multipart/alternative; boundary=047d7b5da6b7274971050b12515a Subject: Re: [PHP-DEV] [RFC] Preserve Fractional Part in JSON encode From: jrbasso@gmail.com (Juan Basso) --047d7b5da6b7274971050b12515a Content-Type: text/plain; charset=UTF-8 Exactly. The idea of this RFC is just to add as a new option and not enabled by default. The idea to enable it by default was discussed before and I just added as future scope since it is not an easy decision, especially because the backward compatibility. The main goal is to have the option to choose any of the behaviors. On Thu, Dec 25, 2014 at 7:54 PM, Stanislav Malyshev wrote: > Hi! > > > Good evening and merry christmas, > > > > After some discussion in a separated thread I created the RFC to discuss > > about the implementation of another json_encode option. > > > > The RFC can be found here: > > https://wiki.php.net/rfc/json_preserve_fractional_part > > Completely makes sense for me as an option, for 5.6 and maybe even 5.5. > As a default, not so sure, but this should not hold adding an option. > > -- > Stas Malyshev > smalyshev@gmail.com > --047d7b5da6b7274971050b12515a--