Searched refs:json_last_error (Results 1 – 19 of 19) sorted by relevance
/PHP-7.4/ext/json/tests/ |
H A D | bug69187.phpt | 2 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 D | bug54484.phpt | 2 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 D | json_last_error_error.phpt | 2 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 D | 007.phpt | 2 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 D | bug54058.phpt | 2 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 D | json_exceptions_error_clearing.phpt | 8 var_dump(json_last_error()); 14 var_dump(json_last_error()); 22 var_dump(json_last_error()); 30 var_dump(json_last_error()); 39 var_dump(json_last_error());
|
H A D | bug61537.phpt | 10 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 D | inf_nan_error.phpt | 13 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 D | bug68546.phpt | 12 var_dump(json_last_error() === JSON_ERROR_INVALID_PROPERTY_NAME); 14 var_dump(json_last_error() === JSON_ERROR_INVALID_PROPERTY_NAME);
|
H A D | 003.phpt | 16 var_dump(json_last_error(), json_last_error_msg()); 21 var_dump(json_last_error(), json_last_error_msg());
|
H A D | bug62369.phpt | 14 switch (json_last_error()) { 24 switch (json_last_error()) {
|
H A D | 004.phpt | 16 var_dump(json_last_error(), json_last_error_msg()); 21 var_dump(json_last_error(), json_last_error_msg());
|
H A D | unsupported_type_error.phpt | 13 var_dump(json_last_error(), json_last_error_msg()); 16 var_dump(json_last_error(), json_last_error_msg());
|
H A D | bug68938.phpt | 8 var_dump(json_last_error());
|
H A D | bug62010.phpt | 9 var_dump(json_last_error() === JSON_ERROR_UTF16);
|
H A D | bug64874_part2.phpt | 9 echo ((json_last_error() !== 0) ? 'ERROR' : 'SUCCESS') . PHP_EOL;
|
H A D | json_encode_exceptions.phpt | 18 var_dump(json_last_error());
|
H A D | bug64874_part1.phpt | 9 var_dump(json_last_error() !== 0);
|
/PHP-7.4/ext/json/ |
H A D | json.c | 37 static PHP_FUNCTION(json_last_error); 70 PHP_FE(json_last_error, arginfo_json_last_error) 366 static PHP_FUNCTION(json_last_error) in PHP_FUNCTION() argument
|
Completed in 23 milliseconds