Home
last modified time | relevance | path

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

/PHP-7.2/ext/json/tests/
H A Dbug69187.phpt2 Bug #69187 json_last_error return BC in PHP7
8 var_dump(json_last_error());
10 var_dump(json_last_error());
12 var_dump(json_last_error());
15 var_dump(json_last_error());
17 var_dump(json_last_error());
19 var_dump(json_last_error());
22 var_dump(json_last_error());
25 var_dump(json_last_error());
28 var_dump(json_last_error());
[all …]
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());
20 var_dump(json_last_error());
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 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 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 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 Dbug68546.phpt12 var_dump(json_last_error() === JSON_ERROR_INVALID_PROPERTY_NAME);
14 var_dump(json_last_error() === JSON_ERROR_INVALID_PROPERTY_NAME);
H A Dbug62369.phpt14 switch (json_last_error()) {
24 switch (json_last_error()) {
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 D004.phpt16 var_dump(json_last_error(), json_last_error_msg());
21 var_dump(json_last_error(), json_last_error_msg());
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 Dbug68938.phpt8 var_dump(json_last_error());
H A Dbug62010.phpt9 var_dump(json_last_error() === JSON_ERROR_UTF16);
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-7.2/ext/json/
H A Djson.c37 static PHP_FUNCTION(json_last_error);
69 PHP_FE(json_last_error, arginfo_json_last_error)
312 static PHP_FUNCTION(json_last_error) in PHP_FUNCTION() argument

Completed in 26 milliseconds