Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:80710 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 14386 invoked from network); 17 Jan 2015 21:48:41 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 17 Jan 2015 21:48:41 -0000 Authentication-Results: pb1.pair.com header.from=mailing@pascal-martin.fr; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=mailing@pascal-martin.fr; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain pascal-martin.fr designates 176.31.99.170 as permitted sender) X-PHP-List-Original-Sender: mailing@pascal-martin.fr X-Host-Fingerprint: 176.31.99.170 ks391579.kimsufi.com Received: from [176.31.99.170] ([176.31.99.170:37675] helo=pascal-martin.fr) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id F8/00-13498-8B8DAB45 for ; Sat, 17 Jan 2015 16:48:40 -0500 Received: from [192.168.0.6] (ALyon-656-1-626-66.w80-9.abo.wanadoo.fr [80.9.203.66]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by pascal-martin.fr (Postfix) with ESMTPSA id C16D341781 for ; Sat, 17 Jan 2015 22:44:21 +0100 (CET) Message-ID: <54BAD8B4.9010101@pascal-martin.fr> Date: Sat, 17 Jan 2015 22:48:36 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0 MIME-Version: 1.0 To: internals@lists.php.net References: In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] [RFC] [VOTE] Preserve Fractional Part in JSON encode From: mailing@pascal-martin.fr ("Pascal MARTIN, AFUP") On 11/01/2015 04:02, Juan Basso wrote: > I'd like to initiate a vote on this RFC: > https://wiki.php.net/rfc/json_preserve_fractional_part > Hi, After discussing this RFC with other people of AFUP, we are +1 on this. Being able to get back the same PHP type after encoding data to JSON and re-decoding it could be useful (thinking about strict comparison, typically), even if JSON only has one "number" type. And adding a new flag doesn't have much negative impact (as long as it's not enabled by default, especially for a minor version of PHP). -- Pascal MARTIN, AFUP - French UG http://php-internals.afup.org/