Home
last modified time | relevance | path

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

/php-src/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-src/ext/json/
H A Djson_arginfo.h34 ZEND_FUNCTION(json_validate);
41 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.c312 PHP_FUNCTION(json_validate) in PHP_FUNCTION() argument

Completed in 12 milliseconds