Re: json_encode() bug
| From: | Cristian Rodriguez | Date: | Fri, 01 Feb 2008 19:13:37 +0000 |
| Subject: | Re: json_encode() bug | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-35068@lists.php.net to get a copy of this message | ||
2008/1/25, Stanislav Malyshev <stas@zend.com>:
> Now this is an easy fix but would lead to bad strings silently converted
> to empty strings. The question is - should we have an error there? If
> so, which one - E_WARNING, E_NOTICE? I'm for E_WARNING.
Yes , E_WARNING is the right thing to have IMHO.
--
http://www.cristianrodriguez.net