/PHP-7.2/ext/json/ |
H A D | config.w32 | 4 ARG_ENABLE("json", "JavaScript Object Serialization support", "yes"); 7 EXTENSION('json', 'json.c', PHP_JSON_SHARED, "/DZEND_ENABLE_STATIC_TSRMLS_CACHE=1"); 9 if (!FSO.FileExists("ext/json/json_scanner.c")) { 10 STDOUT.WriteLine("Generating ext/json/json_scanner.c"); 11 …e(PATH_PROG("re2c") + " -t ext/json/php_json_scanner_defs.h --no-generation-date -bci -o ext/json/… 13 if (!FSO.FileExists("ext/json/json_parser.tab.c")) { 14 STDOUT.WriteLine("Generating ext/json/json_parser.tab.c"); 15 …STDOUT.WriteLine(execute(PATH_PROG("bison") + " --defines -l ext/json/json_parser.y -o ext/json/js… 18 ADD_SOURCES(configure_module_dirname, "json_encoder.c json_parser.tab.c json_scanner.c", "json"); 22 PHP_INSTALL_HEADERS("ext/json/", "php_json.h php_json_parser.h php_json_scanner.h");
|
H A D | Makefile.frag.w32 | 1 ext\json\json_scanner.c: ext\json\json_scanner.re 2 …$(RE2C) -t ext/json/php_json_scanner_defs.h --no-generation-date -bci -o ext/json/json_scanner.c e… 4 ext\json\json_parser.tab.c: ext\json\json_parser.y 5 $(BISON) --defines -l ext/json/json_parser.y -o ext/json/json_parser.tab.c
|
H A D | config.m4 | 5 PHP_ARG_ENABLE(json, whether to enable JavaScript Object Serialization support, 6 [ --disable-json Disable JavaScript Object Serialization support], yes) 12 PHP_NEW_EXTENSION(json, 13 json.c \ 18 PHP_INSTALL_HEADERS([ext/json], [php_json.h php_json_parser.h php_json_scanner.h])
|
H A D | json.c | 34 static PHP_MINFO_FUNCTION(json); 42 PHP_JSON_API ZEND_DECLARE_MODULE_GLOBALS(json) 52 ZEND_ARG_INFO(0, json) 91 static PHP_MINIT_FUNCTION(json) in PHP_MINIT_FUNCTION() argument 139 static PHP_GINIT_FUNCTION(json) in PHP_GINIT_FUNCTION() argument 157 PHP_MINIT(json), 161 PHP_MINFO(json), 163 PHP_MODULE_GLOBALS(json), 164 PHP_GINIT(json), 175 ZEND_GET_MODULE(json) in ZEND_GET_MODULE() argument [all …]
|
H A D | php_json.h | 85 ZEND_BEGIN_MODULE_GLOBALS(json) 89 ZEND_END_MODULE_GLOBALS(json) 91 PHP_JSON_API ZEND_EXTERN_MODULE_GLOBALS(json) 92 #define JSON_G(v) ZEND_MODULE_GLOBALS_ACCESSOR(json, v)
|
/PHP-7.2/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 | 4 <?php if (!extension_loaded("json")) print "skip"; ?> 7 $json = '{"largenum":123456789012345678901234567890}'; 8 $x = json_decode($json); 10 $x = json_decode($json, false, 512, JSON_BIGINT_AS_STRING);
|
H A D | json_decode_invalid_utf8.phpt | 5 if (!extension_loaded("json")) print "skip"; 12 $json = json_decode($str, true, 512, JSON_INVALID_UTF8_SUBSTITUTE); 13 if (is_array($json)) { 14 var_dump(array_map(function($item) { return bin2hex($item); }, $json)); 16 var_dump(bin2hex($json));
|
H A D | bug41067.phpt | 4 <?php if (!extension_loaded("json")) print "skip"; ?> 11 $json = json_encode($array); 12 print $json . "\n\n"; 13 $json_decoded = json_decode($json, true);
|
H A D | bug63737.phpt | 4 <?php if (!extension_loaded("json")) print "skip"; ?> 7 function decode($json) { 8 $x = json_decode($json); 10 $x = json_decode($json, false, 512, JSON_BIGINT_AS_STRING);
|
H A D | bug54484.phpt | 4 <?php if (!extension_loaded("json")) print "skip"; ?> 13 json_decode("invalid json"); 16 json_decode("\"\001 invalid json\"");
|
H A D | json_encode_pretty_print.phpt | 4 <?php if (!extension_loaded("json")) print "skip"; ?> 7 function encode_decode($json) { 8 $struct = json_decode($json);
|
H A D | bug64874_part2.phpt | 4 <?php if (!extension_loaded("json")) print "skip"; ?> 7 function decode($json) { 8 var_dump(json_decode($json));
|
H A D | bug73113.phpt | 3 Also test that the custom exception is not wrapped by ext/json 5 <?php if (!extension_loaded("json")) print "skip"; ?>
|
H A D | bug64874_part1.phpt | 4 <?php if (!extension_loaded("json")) print "skip"; ?> 7 function decode($json) { 8 var_dump(json_decode($json));
|
H A D | bug68817.phpt | 4 <?php if (!extension_loaded("json")) print "skip"; ?>
|
H A D | bug68938.phpt | 4 <?php if (!extension_loaded("json")) print "skip"; ?>
|
H A D | bug45791.phpt | 4 <?php if (!extension_loaded("json")) print "skip"; ?>
|
H A D | bug55543.phpt | 4 <?php if (!extension_loaded("json")) print "skip"; ?>
|
H A D | json_encode_unescaped_slashes.phpt | 4 <?php if (!extension_loaded("json")) print "skip"; ?>
|
H A D | bug68567.phpt | 4 <?php if (!extension_loaded("json")) print "skip"; ?>
|
H A D | 005.phpt | 4 <?php if (!extension_loaded("json")) print "skip"; ?>
|
H A D | bug41567.phpt | 6 <?php if (!extension_loaded('json')) print 'skip'; ?>
|
/PHP-7.2/ext/simplexml/tests/ |
H A D | bug66084_1.phpt | 2 Bug #66084 simplexml_load_string() mangles empty node name, json variant 5 <?php if (!extension_loaded("json")) print "skip json not available"; ?>
|
/PHP-7.2/ext/opcache/tests/ |
H A D | jmp_elim_001.phpt | 5 <?php if (!extension_loaded("json")) print "skip"; ?> 14 header('Content-Type: application/json');
|