Home
last modified time | relevance | path

Searched refs:json_last_error (Results 1 – 15 of 15) sorted by relevance

/PHP-5.6/ext/json/tests/
H A Djson_last_error_error.phpt2 json_last_error() failures
8 var_dump(json_last_error());
9 var_dump(json_last_error(true));
10 var_dump(json_last_error('some', 4, 'args', 'here'));
16 Warning: json_last_error() expects exactly 0 parameters, 1 given in %s on line %d
19 Warning: json_last_error() expects exactly 0 parameters, 4 given in %s on line %d
H A Dbug54484.phpt2 Bug #54484 (Empty string in json_decode doesn't reset json_last_error)
8 var_dump(json_last_error());
11 var_dump(json_last_error());
14 var_dump(json_last_error());
17 var_dump(json_last_error());
H A D007.phpt2 json_last_error() tests
8 var_dump(json_last_error(), json_last_error_msg());
10 var_dump(json_last_error(), json_last_error_msg());
12 var_dump(json_last_error(), json_last_error_msg());
14 var_dump(json_last_error(), json_last_error_msg());
16 var_dump(json_last_error(), json_last_error_msg());
H A Dbug54058.phpt2 Bug #54058 (json_last_error() invalid UTF-8 produces wrong error)
11 var_dump(json_last_error(), json_last_error_msg());
16 var_dump(json_last_error(), json_last_error_msg());
22 var_dump(json_last_error(), json_last_error_msg());
29 var_dump(json_last_error(), json_last_error_msg());
H A Dbug61537.phpt10 var_dump(json_last_error(), json_last_error_msg());
13 var_dump(json_last_error(), json_last_error_msg());
20 var_dump(json_last_error(), json_last_error_msg());
23 var_dump(json_last_error(), json_last_error_msg());
H A Dinf_nan_error.phpt13 var_dump(json_last_error(), json_last_error_msg());
16 var_dump(json_last_error(), json_last_error_msg());
25 var_dump(json_last_error(), json_last_error_msg());
28 var_dump(json_last_error(), json_last_error_msg());
H A D003.phpt16 var_dump(json_last_error(), json_last_error_msg());
21 var_dump(json_last_error(), json_last_error_msg());
H A Dbug62369.phpt14 switch (json_last_error()) {
24 switch (json_last_error()) {
H A Dunsupported_type_error.phpt13 var_dump(json_last_error(), json_last_error_msg());
16 var_dump(json_last_error(), json_last_error_msg());
H A D004.phpt16 var_dump(json_last_error(), json_last_error_msg());
21 var_dump(json_last_error(), json_last_error_msg());
H A Dbug64874_part2.phpt9 echo ((json_last_error() !== 0) ? 'ERROR' : 'SUCCESS') . PHP_EOL;
H A Dbug64874_part1.phpt9 var_dump(json_last_error() !== 0);
/PHP-5.6/ext/json/
H A Djson.c45 static PHP_FUNCTION(json_last_error);
79 PHP_FE(json_last_error, arginfo_json_last_error)
862 static PHP_FUNCTION(json_last_error) in PHP_FUNCTION() argument
/PHP-5.6/
H A DUPGRADING41 return NULL and set an error value you can fetch with json_last_error().
H A DNEWS5761 json_last_error()). (Ilia)
7648 - Added json_last_error() to return any error information from json_decode().

Completed in 65 milliseconds