Re: Add a new flag for json_encode
| From: | Andrea Faulds | Date: | Tue, 04 Nov 2014 16:35:34 +0000 |
| Subject: | Re: Add a new flag for json_encode | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-78649@lists.php.net to get a copy of this message | ||
> On 4 Nov 2014, at 14:57, Ferenc Kovacs <tyra3l@gmail.com> wrote:
>
> Hi,
>
> just a slight correction:
> as far as I can tell, Jakus was ok with the general idea and even with
> turning this into the default, but he stated that it should only happen in
> a major version (as it would cause a slight BC, maybe this could cause
> problems for some people who are expecting the zeroes to be truncated from
> integer values) and he also stated that he thinks that there is no reason
> for a hurry to have this in a micro release, so this could wait until 7.0.
Why would this cause a BC break? If we’re just adding a new, optional, off-by-default option, it
shouldn’t break anything.
--
Andrea Faulds
http://ajf.me/