--TEST-- json_last_error() tests --FILE-- --EXPECT-- array(1) { [0]=> int(1) } int(0) string(8) "No error" NULL int(1) string(28) "Maximum stack depth exceeded" NULL int(2) string(42) "State mismatch (invalid or malformed JSON)" NULL int(3) string(53) "Control character error, possibly incorrectly encoded" NULL int(4) string(12) "Syntax error" Done