Home
last modified time | relevance | path

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

12

/PHP-8.1/ext/json/
H A DMakefile.frag.w321 ext\json\json_scanner.c ext\json\php_json_scanner_defs.h: ext\json\json_scanner.re ext\json\json_pa…
2 …$(RE2C) $(RE2C_FLAGS) -t ext/json/php_json_scanner_defs.h --no-generation-date -bci -o ext/json/js…
4 ext\json\json_parser.tab.c ext\json\json_parser.tab.h: ext\json\json_parser.y
5 $(BISON) --defines -l ext/json/json_parser.y -o ext/json/json_parser.tab.c
H A Dconfig.w323 EXTENSION('json', 'json.c', false /* never shared */, "/DZEND_ENABLE_STATIC_TSRMLS_CACHE=1");
5 ADD_SOURCES(configure_module_dirname, "json_encoder.c json_parser.tab.c json_scanner.c", "json");
9 PHP_INSTALL_HEADERS("ext/json/", "php_json.h php_json_parser.h php_json_scanner.h");
H A Djson.c33 static PHP_MINFO_FUNCTION(json);
45 static PHP_MINIT_FUNCTION(json)
93 static PHP_GINIT_FUNCTION(json) in PHP_GINIT_FUNCTION() argument
104 static PHP_RINIT_FUNCTION(json) in PHP_RINIT_FUNCTION() argument
115 PHP_MINIT(json),
117 PHP_RINIT(json),
119 PHP_MINFO(json),
121 PHP_MODULE_GLOBALS(json),
122 PHP_GINIT(json),
133 ZEND_GET_MODULE(json) in ZEND_GET_MODULE() argument
[all …]
H A Dconfig.m44 PHP_NEW_EXTENSION(json,
5 json.c \
10 PHP_INSTALL_HEADERS([ext/json], [php_json.h php_json_parser.h php_json_scanner.h])
H A Dphp_json.h87 ZEND_BEGIN_MODULE_GLOBALS(json)
91 ZEND_END_MODULE_GLOBALS(json)
93 PHP_JSON_API ZEND_EXTERN_MODULE_GLOBALS(json)
94 #define JSON_G(v) ZEND_MODULE_GLOBALS_ACCESSOR(json, v)
H A Djson.stub.php8 function json_decode(string $json, ?bool $associative = null, int $depth = 512, int $flags = 0): mi… argument
/PHP-8.1/ext/json/tests/
H A Dbug73991.phpt6 $json = '{"foo":"bar"}';
8 var_dump(json_decode($json, false));
9 var_dump(json_decode($json, true));
10 var_dump(json_decode($json, null, 512, 0));
11 var_dump(json_decode($json, null, 512, JSON_OBJECT_AS_ARRAY));
H A D008.phpt5 $json = '{"largenum":123456789012345678901234567890}';
6 $x = json_decode($json);
8 $x = json_decode($json, false, 512, JSON_BIGINT_AS_STRING);
H A Djson_decode_invalid_utf8.phpt8 $json = json_decode($str, true, 512, JSON_INVALID_UTF8_SUBSTITUTE);
9 if (is_array($json)) {
10 var_dump(array_map(function($item) { return bin2hex($item); }, $json));
12 var_dump(bin2hex($json));
H A Dbug41067.phpt9 $json = json_encode($array);
10 print $json . "\n\n";
11 $json_decoded = json_decode($json, true);
H A Dbug63737.phpt5 function decode($json) {
6 $x = json_decode($json);
8 $x = json_decode($json, false, 512, JSON_BIGINT_AS_STRING);
H A Dbug54484.phpt11 json_decode("invalid json");
14 json_decode("\"\001 invalid json\"");
H A Djson_encode_pretty_print.phpt5 function encode_decode($json) {
6 $struct = json_decode($json);
H A Dbug64874_part2.phpt5 function decode($json) {
6 var_dump(json_decode($json));
H A Dbug77843.phpt2 Bug #77843: Use after free with json serializer
H A Dbug73113.phpt3 Also test that the custom exception is not wrapped by ext/json
H A Dbug64874_part1.phpt5 function decode($json) {
6 var_dump(json_decode($json));
/PHP-8.1/scripts/dev/
H A Dgenfiles117 $MAKE RE2C="$RE2C" RE2C_FLAGS="$RE2C_FLAGS" YACC="$YACC" srcdir=ext/json builddir=ext/json top_srcd…
118 -f ext/json/Makefile.frag \
119 ext/json/json_parser.tab.c \
120 ext/json/json_scanner.c
/PHP-8.1/ext/pcre/tests/
H A Dbug76514.phpt51 "heroku-sys/ext-json": "*",
252 "heroku-sys/ext-json": "*",
427 "name": "composer.json/composer.lock",
443 "composer.json/composer.lock": "dev-597511d6d51b96e4a8afeba2c79982e5",
489 (?<array> \[ (?: (?&json) \s* (?: , (?&json) \s* )* )? \s* \] )
490 (?<pair> \s* (?&string) \s* : (?&json) \s* )
492 (?<json> \s* (?: (?&number) | (?&boolean) | (?&string) | (?&array) | (?&object) ) )
494 ^(?P<start>\s*\{\s*(?:(?&string)\s*:\s*(?&json)\s*,\s*)*?)
495 (?P<property>'.preg_quote('"require"').'\s*:\s*)(?P<value>(?&json))(?P<end>.*)}sx', $str, $match);
502 "composer.json/composer.lock": "dev-597511d6d51b96e4a8afeba2c79982e5",
/PHP-8.1/sapi/fpm/tests/
H A Dbug64539-status-json-encoding.phpt2 FPM: bug64539 - status json format escaping
33 ['uri' => '/status', 'query' => 'full&json', 'delay' => 100000],
/PHP-8.1/ext/fileinfo/tests/upstream/
H A Djson3.testfile3 "json": "crab",
/PHP-8.1/ext/fileinfo/tests/
H A Dfinfo_file_002.phpt32 ["%s/test.json"]=>
33 string(16) "application/json"
/PHP-8.1/.github/actions/notify-slack/
H A Daction.yml10 …curl -X POST -H 'Content-type: application/json' --data '{"attachments": [{"text": "Job in *nightl…
/PHP-8.1/ext/opcache/tests/
H A Djmp_elim_001.phpt14 header('Content-Type: application/json');
/PHP-8.1/ext/spl/
H A Dconfig.m45 PHP_ADD_EXTENSION_DEP(spl, json)

Completed in 40 milliseconds

12