Home
last modified time | relevance | path

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

/PHP-8.4/ext/json/tests/
H A Dbug69187.phpt2 Bug #69187 json_last_error return BC in PHP7
6 var_dump(json_last_error());
8 var_dump(json_last_error());
11 var_dump(json_last_error());
13 var_dump(json_last_error());
15 var_dump(json_last_error());
18 var_dump(json_last_error());
21 var_dump(json_last_error());
24 var_dump(json_last_error());
27 var_dump(json_last_error());
H A Dbug54484.phpt2 Bug #54484 (Empty string in json_decode doesn't reset json_last_error)
6 var_dump(json_last_error());
9 var_dump(json_last_error());
12 var_dump(json_last_error());
15 var_dump(json_last_error());
18 var_dump(json_last_error());
H A D007.phpt2 json_last_error() tests
6 var_dump(json_last_error(), json_last_error_msg());
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());
H A Djson_last_error_error.phpt2 json_last_error() failures
6 var_dump(json_last_error());
9 var_dump(json_last_error(true));
17 json_last_error() expects exactly 0 arguments, 1 given
H A Dbug54058.phpt2 Bug #54058 (json_last_error() invalid UTF-8 produces wrong error)
9 var_dump(json_last_error(), json_last_error_msg());
14 var_dump(json_last_error(), json_last_error_msg());
20 var_dump(json_last_error(), json_last_error_msg());
27 var_dump(json_last_error(), json_last_error_msg());
H A Djson_exceptions_error_clearing.phpt6 var_dump(json_last_error());
12 var_dump(json_last_error());
20 var_dump(json_last_error());
28 var_dump(json_last_error());
37 var_dump(json_last_error());
H A Dbug61537.phpt8 var_dump(json_last_error(), json_last_error_msg());
11 var_dump(json_last_error(), json_last_error_msg());
18 var_dump(json_last_error(), json_last_error_msg());
21 var_dump(json_last_error(), json_last_error_msg());
H A Dinf_nan_error.phpt11 var_dump(json_last_error(), json_last_error_msg());
14 var_dump(json_last_error(), json_last_error_msg());
23 var_dump(json_last_error(), json_last_error_msg());
26 var_dump(json_last_error(), json_last_error_msg());
H A Dbug68546.phpt7 var_dump(json_last_error() === JSON_ERROR_INVALID_PROPERTY_NAME);
9 var_dump(json_last_error() === JSON_ERROR_INVALID_PROPERTY_NAME);
H A D003.phpt14 var_dump(json_last_error(), json_last_error_msg());
19 var_dump(json_last_error(), json_last_error_msg());
H A Dbug62369.phpt12 switch (json_last_error()) {
22 switch (json_last_error()) {
H A Dunsupported_type_error.phpt11 var_dump(json_last_error(), json_last_error_msg());
14 var_dump(json_last_error(), json_last_error_msg());
H A D004.phpt14 var_dump(json_last_error(), json_last_error_msg());
19 var_dump(json_last_error(), json_last_error_msg());
H A Dbug68938.phpt6 var_dump(json_last_error());
H A Dbug62010.phpt7 var_dump(json_last_error() === JSON_ERROR_UTF16);
H A Djson_validate_requires.inc14 var_dump(json_last_error(), json_last_error_msg());
H A Djson_validate_003.phpt12 var_dump(json_last_error(), json_last_error_msg());
H A Dgh15168.phpt31 var_dump(json_last_error());
H A Dbug64874_part2.phpt7 echo ((json_last_error() !== 0) ? 'ERROR' : 'SUCCESS') . PHP_EOL;
H A Djson_encode_exceptions.phpt16 var_dump(json_last_error());
H A Dbug64874_part1.phpt7 var_dump(json_last_error() !== 0);
/PHP-8.4/Zend/tests/enum/
H A Djson_encode.phpt29 if (json_last_error() !== JSON_ERROR_NONE) {
30 echo json_last_error() . ' === ' . JSON_ERROR_NON_BACKED_ENUM . ":\n";
31 var_dump(json_last_error() === JSON_ERROR_NON_BACKED_ENUM);
/PHP-8.4/ext/json/
H A Djson_arginfo.h35 ZEND_FUNCTION(json_last_error);
42 ZEND_FE(json_last_error, arginfo_json_last_error)
H A Djson.stub.php161 function json_last_error(): int {} function
H A Djson.c354 PHP_FUNCTION(json_last_error) in PHP_FUNCTION() argument

Completed in 29 milliseconds