Re: json_encode()
| From: | troels knak-nielsen | Date: | Tue, 16 Dec 2008 14:55:55 +0000 |
| Subject: | Re: json_encode() | ||
| References: | 1 2 3 4 5 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-42291@lists.php.net to get a copy of this message | ||
On Tue, Dec 16, 2008 at 3:06 PM, Richard Quadling
<rquadling@googlemail.com> wrote:
> Would it be at all possible to have an ini setting json.strict_encode = On
>
> So, my code doesn't change, but I can activate it globally.
> Essentially I don't want to shoot myself. I don't want to take the
> safety off.
I think we have lots of prior examples of why it's a bad idea to
change language semantics with a global setting.
--
troels