Home
last modified time | relevance | path

Searched refs:json_validate (Results 1 – 11 of 11) sorted by relevance

/PHP-8.3/ext/json/tests/
H A Djson_validate_001.phpt2 json_validate() - General usage
7 json_validate(""),
8 json_validate("."),
9 json_validate("<?>"),
10 json_validate(";"),
11 json_validate("руссиш"),
12 json_validate("blah"),
13 json_validate('{ "": "": "" } }'),
14 json_validate('{ "": { "": "" }'),
19 json_validate('{ "": { "foo": "" } }'),
[all …]
H A Djson_validate_003.phpt2 json_validate() - Error handling for max depth
9 var_dump(json_validate("-", PHP_INT_MAX));
17 json_validate(): Argument #2 ($depth) must be less than %d
H A Djson_validate_002.phpt2 json_validate() - Error handling
36 Error: 0 json_validate(): Argument #2 ($depth) must be greater than 0
39 Error: 0 json_validate(): Argument #3 ($flags) must be a valid flag (allowed flags: JSON_INVALID_UT…
42 Error: 0 json_validate(): Argument #3 ($flags) must be a valid flag (allowed flags: JSON_INVALID_UT…
H A Djson_validate_005.phpt2 json_validate() - compare against json_decode() for different types of inputs
22 var_dump($input, json_decode($input), json_validate($input));
H A Djson_validate_requires.inc5 var_dump(json_validate($json, $depth, $flags));
H A Djson_validate_004.phpt2 json_validate() - Invalid UTF-8's
/PHP-8.3/ext/json/
H A Djson_arginfo.h35 ZEND_FUNCTION(json_validate);
43 ZEND_FE(json_validate, arginfo_json_validate)
H A Djson.stub.php159 function json_validate(string $json, int $depth = 512, int $flags = 0): bool {} function
H A Djson.c314 PHP_FUNCTION(json_validate) in PHP_FUNCTION() argument
/PHP-8.3/
H A DUPGRADING418 . Added json_validate(), which returns whether the json is valid for
420 RFC: https://wiki.php.net/rfc/json_validate
H A DNEWS1036 . Added json_validate(). (Juan Morales)

Completed in 13 milliseconds