Re: Add a new flag for json_encode
| From: | Jakub Zelenka | Date: | Wed, 05 Nov 2014 16:45:38 +0000 |
| Subject: | Re: Add a new flag for json_encode | ||
| References: | 1 2 3 4 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-78731@lists.php.net to get a copy of this message | ||
On Wed, Nov 5, 2014 at 2:33 PM, Chris Wright <cw@daverandom.com> wrote
>
>
> I'm afraid I have to disagree here, I don't like the idea of changing this
> behaviour without making it controllable
>
If we make it default, then we could of course add a new constants that
would allow the old behaviour.
What I'm trying to say is that it doesn't make sense to add something to
micro release and then change it (deprecate it) in PHP 7. I don't have
problem with a new flag if the current behaviour stays but it should be
decided before we make this change. There is no big hurry that we need to
add it immediately.
Cheers
Jakub