On Sun, Jun 24, 2012 at 5:39 PM, Rasmus Lerdorf <ras...@lerdorf.com> wrote:
> So how about:
>
> mixed json_last_error ( [bool $error_string = false] )
>
> Returns the last error (if any) occurred during the last JSON
> encoding/decoding. By default an integer constant from the table below
> is returned. If $error_string is true, an array containing both the
> error constant and a string representation of the error is returned.

Makes sense to me. So should I do this? Remove warnings + add string
parameter for json_last_error?

Nikita

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to