/php-src/ext/json/ |
H A D | Makefile.frag.w32 | 1 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 -bci -o ext/json/json_scanner.c ext/json… 4 ext\json\json_parser.tab.c ext\json\json_parser.tab.h: ext\json\json_parser.y 5 $(BISON) $(BISON_FLAGS) --defines -l ext/json/json_parser.y -o ext/json/json_parser.tab.c
|
H A D | config.w32 | 3 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 D | config.m4 | 1 PHP_NEW_EXTENSION([json], m4_normalize([ 5 json.c 9 PHP_INSTALL_HEADERS([ext/json], m4_normalize([
|
H A D | json.c | 31 static PHP_MINFO_FUNCTION(json); 45 static PHP_MINIT_FUNCTION(json) in PHP_MINIT_FUNCTION() argument 59 static PHP_GINIT_FUNCTION(json) in PHP_GINIT_FUNCTION() argument 70 static PHP_RINIT_FUNCTION(json) in PHP_RINIT_FUNCTION() argument 81 PHP_MINIT(json), 83 PHP_RINIT(json), 85 PHP_MINFO(json), 87 PHP_MODULE_GLOBALS(json), 88 PHP_GINIT(json), 99 ZEND_GET_MODULE(json) in ZEND_GET_MODULE() argument [all …]
|
H A D | php_json.h | 89 ZEND_BEGIN_MODULE_GLOBALS(json) 93 ZEND_END_MODULE_GLOBALS(json) 95 PHP_JSON_API ZEND_EXTERN_MODULE_GLOBALS(json) 96 #define JSON_G(v) ZEND_MODULE_GLOBALS_ACCESSOR(json, v)
|
H A D | json.stub.php | 157 function json_decode(string $json, ?bool $associative = null, int $depth = 512, int $flags = 0): mi… argument 159 function json_validate(string $json, int $depth = 512, int $flags = 0): bool {} argument
|
/php-src/ext/json/tests/ |
H A D | bug73991.phpt | 6 $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 D | 008.phpt | 5 $json = '{"largenum":123456789012345678901234567890}'; 6 $x = json_decode($json); 8 $x = json_decode($json, false, 512, JSON_BIGINT_AS_STRING);
|
H A D | json_decode_invalid_utf8.phpt | 8 $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 D | bug41067.phpt | 9 $json = json_encode($array); 10 print $json . "\n\n"; 11 $json_decoded = json_decode($json, true);
|
H A D | bug63737.phpt | 5 function decode($json) { 6 $x = json_decode($json); 8 $x = json_decode($json, false, 512, JSON_BIGINT_AS_STRING);
|
H A D | bug54484.phpt | 11 json_decode("invalid json"); 14 json_decode("\"\001 invalid json\"");
|
H A D | json_encode_pretty_print.phpt | 5 function encode_decode($json) { 6 $struct = json_decode($json);
|
H A D | json_validate_requires.inc | 3 function json_validate_trycatchdump($json, $depth = 512, $flags = 0) { 5 var_dump(json_validate($json, $depth, $flags));
|
H A D | json_encode_recursion_06.phpt | 32 return [ 'json' => serialize($this) ]; 41 string(113) "O:18:"SerializeFirstTest":1:{s:6:"result";s:62:"{"json":"O:18:\"SerializeFirstTest\":1…
|
H A D | bug64874_part2.phpt | 5 function decode($json) { 6 var_dump(json_decode($json));
|
/php-src/docs/source/introduction/ides/ |
H A D | visual-studio-code.rst | 17 The ``settings.json`` file referenced below can be opened in the Settings page by pressing the 42 # Compile php-src and generate compile_commands.json 45 To tell the C/C++ extension to use the ``compile_commands.json`` file, add the following to your 46 ``settings.json`` file: 48 .. code:: json 51 "C_Cpp.default.compileCommands": "${workspaceFolder}/compile_commands.json" 62 ``settings.json`` file: 64 .. code:: json 75 peculiar, so you might want to disable this option in your ``settings.json`` file: 79 .. code:: json [all …]
|
/php-src/ext/standard/tests/http/request_parse_body/ |
H A D | unsupported_content_type.phpt | 8 Content-Type: application/json 23 RequestParseBodyException: Content-Type "application/json" is not supported
|
/php-src/ext/reflection/tests/ |
H A D | ReflectionConstant_getExtensionName.phpt | 4 json 24 string(4) "json"
|
H A D | ReflectionConstant_getExtension.phpt | 4 json 29 string(4) "json"
|
/php-src/scripts/dev/ |
H A D | genfiles | 118 …E2C_FLAGS="$RE2C_FLAGS" YACC="$YACC" YFLAGS="$YFLAGS" srcdir=ext/json builddir=ext/json top_srcdir… 119 -f ext/json/Makefile.frag \ 120 ext/json/json_parser.tab.c \ 121 ext/json/json_scanner.c
|
/php-src/ext/pcre/tests/ |
H A D | bug76514.phpt | 51 "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-src/sapi/fpm/tests/ |
H A D | bug64539-status-json-encoding.phpt | 2 FPM: bug64539 - status json format escaping 33 ['uri' => '/status', 'query' => 'full&json', 'delay' => 100000],
|
/php-src/ext/fileinfo/tests/upstream/ |
H A D | json3.testfile | 3 "json": "crab",
|
/php-src/ext/fileinfo/tests/ |
H A D | finfo_file_002.phpt | 32 ["%s/test.json"]=> 33 string(16) "application/json"
|