On Wed, Nov 5, 2014 at 6:24 PM, Andrea Faulds <a...@ajf.me> wrote:

>
> > On 5 Nov 2014, at 17:01, Ferenc Kovacs <tyr...@gmail.com> wrote:
> >
> > 2, there is a chance that there are some exotic apps/systems which are
> > already depending on the fact that php will/was used to send out 1
> instead
> > of 1.0, and while we can break BC in a major release, the migration for
> > those people would be much easier if they just have to change/set some
> > options for their json_encode calls.
>
> It’d be even easier if we change nothing so they don’t need to touch their
> JSON code.
>
>
of course, I'm just arguing that even if we later on decide that we want
this to be the default behavior, we would still keep the
JSON_PRESERVE_FACTIONAL_PART
flag, so that decision shouldn't affect whether or not we introduce the
flag now.


-- 
Ferenc Kovács
@Tyr43l - http://tyrael.hu

Reply via email to