Hi Jakub,
I already replied to you off-list, but for the benefit of people on-list…
Jakub Zelenka wrote:
On Sun, Sep 10, 2017 at 2:24 AM, Andrea Faulds wrote:
Hi everyone,
Craig Duncan previously sparked discussion here about JSON's
error-handling behaviour. Unfortunately, his attempt to ch
On Sun, Sep 10, 2017 at 2:24 AM, Andrea Faulds wrote:
> Hi everyone,
>
> Craig Duncan previously sparked discussion here about JSON's
> error-handling behaviour. Unfortunately, his attempt to change it seems not
> to have gone anywhere, but I have his blessing to try this other approach
> instead
I definitely hate having to test the return value and then getting the
error message via a function call. +1 for ability to throw exceptions
instead.
On 10/09/17 02:24, Andrea Faulds wrote:
Hi everyone,
Craig Duncan previously sparked discussion here about JSON's
error-handling behaviour. U
Hi everyone,
Craig Duncan previously sparked discussion here about JSON's
error-handling behaviour. Unfortunately, his attempt to change it seems
not to have gone anywhere, but I have his blessing to try this other
approach instead.
So here's an RFC: https://wiki.php.net/rfc/json_throw_on_er