Re: json_encode() / json_decode() warnings
| From: | Craig Duncan | Date: | Thu, 27 Jul 2017 16:00:31 +0000 |
| Subject: | Re: json_encode() / json_decode() warnings | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-100063@lists.php.net to get a copy of this message | ||
On 27 July 2017 at 16:57, Niklas Keller <me@kelunik.com> wrote:
> It should rather just throw exceptions. Warnings do not really allow error
> handling, they just allow error reporting.
>
>
Agreed, but I can't see Exceptions passing the vote. Warnings can be
silenced by those that don't care and converted to Exceptions by those that
do