Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:79944 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 34238 invoked from network); 25 Dec 2014 20:16:12 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 25 Dec 2014 20:16:12 -0000 Authentication-Results: pb1.pair.com header.from=tyra3l@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=tyra3l@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 74.125.82.45 as permitted sender) X-PHP-List-Original-Sender: tyra3l@gmail.com X-Host-Fingerprint: 74.125.82.45 mail-wg0-f45.google.com Received: from [74.125.82.45] ([74.125.82.45:36709] helo=mail-wg0-f45.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 8D/50-31774-8807C945 for ; Thu, 25 Dec 2014 15:16:10 -0500 Received: by mail-wg0-f45.google.com with SMTP id b13so13578650wgh.18 for ; Thu, 25 Dec 2014 12:16:05 -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=5R+p5YJ0HNtau0pYpVahgNzvk3Yg7UpRPUs3MVBAzSw=; b=NoGmYlR52B2Atp+t6ia6X45LY5c7Hscqi6ltIBR/StriVJ3ixIQqx4/TVE/8fdBDsx NT2JzTyVfx6d2RKLDfUJsnq7nY6W8FtzW1clscPSoshZN8PHlyp/cARiqkkL0EDFbJCZ 4BhjudGeFLh8p6Mtcj/VEMORCfoEY/tOsi9BSXWwwggRxOcPnTdsQBTSAkgPtvWlJSjj vrSss60tU9qkmU01MM58gyJ1uzBmSjPZXSLqzGQIoSMQPE4ELMZ8rdCGHtZMmqhvcPgO XD2RLYJKVycvrf2hiW5NPc81+qtDSCCFYaar9PW/No7k3ZomwkwuFAn7BEGwckTv+4Ph lqrg== MIME-Version: 1.0 X-Received: by 10.194.88.131 with SMTP id bg3mr72815376wjb.99.1419538565321; Thu, 25 Dec 2014 12:16:05 -0800 (PST) Received: by 10.180.88.33 with HTTP; Thu, 25 Dec 2014 12:16:05 -0800 (PST) In-Reply-To: <9E444FEF-123E-4E40-B0BB-8619ED7673CE@ajf.me> References: <9E444FEF-123E-4E40-B0BB-8619ED7673CE@ajf.me> Date: Thu, 25 Dec 2014 21:16:05 +0100 Message-ID: To: Andrea Faulds Cc: Juan Basso , PHP Internals Content-Type: multipart/alternative; boundary=089e010d849eee5b06050b10135b Subject: Re: [PHP-DEV] [RFC] Preserve Fractional Part in JSON encode From: tyra3l@gmail.com (Ferenc Kovacs) --089e010d849eee5b06050b10135b Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Thu, Dec 25, 2014 at 9:05 PM, Andrea Faulds wrote: > > > On 25 Dec 2014, at 19:32, Juan Basso wrote: > > > > Good evening and merry christmas, > > > > After some discussion in a separated thread I created the RFC to discus= s > > about the implementation of another json_encode option. > > > > The RFC can be found here: > > https://wiki.php.net/rfc/json_preserve_fractional_part > > > > > > Juan Basso > > Hi, > > While I can see there=E2=80=99s some benefit to this when dealing with > poorly-written JSON parsers, I think that we definitely shouldn=E2=80=99t= make this > behaviour the default. > AFAIK that is only mentioned under the future scope, so deciding about that is out-of-scope for the current RFC. --=20 Ferenc Kov=C3=A1cs @Tyr43l - http://tyrael.hu --089e010d849eee5b06050b10135b--