summaryrefslogtreecommitdiff
path: root/ext/json/tests/bug54058.phpt
Commit message (Collapse)AuthorAgeFilesLines
* Add json_last_error_msg() functionNikita Popov2012-06-281-8/+4
| | | | | This replaces json_last_error(true) and is consistent with other custom error handling functions.
* Improve JSON error handlingNikita Popov2012-06-271-7/+9
| | | | | | | | | 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.
* Fix bug #61537 (json_encode() incorrectly truncates/discards information) andAdam Harvey2012-04-111-0/+7
| | | | remove a test case that's now mooted by this fix.
* Fix Bug #54058, invalid utf-8 doesn't set json_encode() in all casesScott MacVicar2011-02-211-0/+35