Searched refs:json_validate (Results 1 – 9 of 9) sorted by relevance
/php-src/ext/json/tests/ |
H A D | json_validate_001.phpt | 2 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 D | json_validate_003.phpt | 2 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 D | json_validate_002.phpt | 2 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 D | json_validate_005.phpt | 2 json_validate() - compare against json_decode() for different types of inputs 22 var_dump($input, json_decode($input), json_validate($input));
|
H A D | json_validate_requires.inc | 5 var_dump(json_validate($json, $depth, $flags));
|
H A D | json_validate_004.phpt | 2 json_validate() - Invalid UTF-8's
|
/php-src/ext/json/ |
H A D | json_arginfo.h | 34 ZEND_FUNCTION(json_validate); 41 ZEND_FE(json_validate, arginfo_json_validate)
|
H A D | json.stub.php | 159 function json_validate(string $json, int $depth = 512, int $flags = 0): bool {} function
|
H A D | json.c | 312 PHP_FUNCTION(json_validate) in PHP_FUNCTION() argument
|
Completed in 14 milliseconds