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 <smalys...@gmail.com> 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 > smalys...@gmail.com >