mirror of
https://github.com/php/php-src.git
synced 2026-04-06 23:53:30 +02:00
json_encode() no longer throws warnings. Instead only the error code for json_last_error() is set. As it is hard to debug the error from just an error code an optional $as_string parameter was added to json_last_error(), which returns an error message instead of an error code.
3.0 KiB
3.0 KiB