Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:79943 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 32539 invoked from network); 25 Dec 2014 20:05:45 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 25 Dec 2014 20:05:45 -0000 Authentication-Results: pb1.pair.com smtp.mail=ajf@ajf.me; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=ajf@ajf.me; sender-id=pass Received-SPF: pass (pb1.pair.com: domain ajf.me designates 192.64.116.207 as permitted sender) X-PHP-List-Original-Sender: ajf@ajf.me X-Host-Fingerprint: 192.64.116.207 imap2-2.ox.privateemail.com Received: from [192.64.116.207] ([192.64.116.207:55627] helo=imap2-2.ox.privateemail.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 66/00-31774-71E6C945 for ; Thu, 25 Dec 2014 15:05:44 -0500 Received: from localhost (localhost [127.0.0.1]) by mail.privateemail.com (Postfix) with ESMTP id 7D4408C007D; Thu, 25 Dec 2014 15:05:40 -0500 (EST) X-Virus-Scanned: Debian amavisd-new at imap2.ox.privateemail.com Received: from mail.privateemail.com ([127.0.0.1]) by localhost (imap2.ox.privateemail.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id no6XFotVE4qe; Thu, 25 Dec 2014 15:05:40 -0500 (EST) Received: from [192.168.0.13] (unknown [94.13.96.117]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.privateemail.com (Postfix) with ESMTPSA id 832658C0069; Thu, 25 Dec 2014 15:05:39 -0500 (EST) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 8.1 \(1993\)) In-Reply-To: Date: Thu, 25 Dec 2014 20:05:06 +0000 Cc: PHP Internals Content-Transfer-Encoding: quoted-printable Message-ID: <9E444FEF-123E-4E40-B0BB-8619ED7673CE@ajf.me> References: To: Juan Basso X-Mailer: Apple Mail (2.1993) Subject: Re: [PHP-DEV] [RFC] Preserve Fractional Part in JSON encode From: ajf@ajf.me (Andrea Faulds) > On 25 Dec 2014, at 19:32, Juan Basso wrote: >=20 > Good evening and merry christmas, >=20 > After some discussion in a separated thread I created the RFC to = discuss > about the implementation of another json_encode option. >=20 > The RFC can be found here: > https://wiki.php.net/rfc/json_preserve_fractional_part >=20 >=20 > 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. Thanks. -- Andrea Faulds http://ajf.me/