Re: [RFC] [VOTE] Preserve Fractional Part in JSON encode

From: Date: Sat, 17 Jan 2015 21:48:36 +0000
Subject: Re: [RFC] [VOTE] Preserve Fractional Part in JSON encode
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-80710@lists.php.net to get a copy of this message
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/

« previous php.internals (#80710) next »