Home
last modified time | relevance | path

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

1234

/PHP-7.1/ext/json/
H A Dconfig.w324 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");
20 PHP_INSTALL_HEADERS("ext/json/", "php_json.h php_json_parser.h php_json_scanner.h");
H A Dconfig.m45 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 Djson.c36 static PHP_MINFO_FUNCTION(json);
44 PHP_JSON_API ZEND_DECLARE_MODULE_GLOBALS(json)
54 ZEND_ARG_INFO(0, json)
93 static PHP_MINIT_FUNCTION(json) in PHP_MINIT_FUNCTION() argument
137 static PHP_GINIT_FUNCTION(json) in PHP_GINIT_FUNCTION() argument
155 PHP_MINIT(json),
159 PHP_MINFO(json),
161 PHP_MODULE_GLOBALS(json),
162 PHP_GINIT(json),
173 ZEND_GET_MODULE(json) in ZEND_GET_MODULE() argument
[all …]
H A Dphp_json.h83 ZEND_BEGIN_MODULE_GLOBALS(json)
87 ZEND_END_MODULE_GLOBALS(json)
89 PHP_JSON_API ZEND_EXTERN_MODULE_GLOBALS(json)
90 #define JSON_G(v) ZEND_MODULE_GLOBALS_ACCESSOR(json, v)
/PHP-7.1/ext/json/tests/
H A D008.phpt4 <?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 Dbug41067.phpt4 <?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 Dbug63737.phpt4 <?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 Dbug54484.phpt4 <?php if (!extension_loaded("json")) print "skip"; ?>
13 json_decode("invalid json");
16 json_decode("\"\001 invalid json\"");
H A Djson_encode_pretty_print.phpt4 <?php if (!extension_loaded("json")) print "skip"; ?>
7 function encode_decode($json) {
8 $struct = json_decode($json);
H A Dbug64874_part2.phpt4 <?php if (!extension_loaded("json")) print "skip"; ?>
7 function decode($json) {
8 var_dump(json_decode($json));
H A Dbug73113.phpt3 Also test that the custom exception is not wrapped by ext/json
5 <?php if (!extension_loaded("json")) print "skip"; ?>
H A Dbug64874_part1.phpt4 <?php if (!extension_loaded("json")) print "skip"; ?>
7 function decode($json) {
8 var_dump(json_decode($json));
H A Dbug68817.phpt4 <?php if (!extension_loaded("json")) print "skip"; ?>
H A Dbug68938.phpt4 <?php if (!extension_loaded("json")) print "skip"; ?>
H A Dbug45791.phpt4 <?php if (!extension_loaded("json")) print "skip"; ?>
H A Dbug55543.phpt4 <?php if (!extension_loaded("json")) print "skip"; ?>
H A Djson_encode_unescaped_slashes.phpt4 <?php if (!extension_loaded("json")) print "skip"; ?>
H A D005.phpt4 <?php if (!extension_loaded("json")) print "skip"; ?>
H A Dbug41567.phpt6 <?php if (!extension_loaded('json')) print 'skip'; ?>
H A Dbug42090.phpt4 <?php if (!extension_loaded("json")) print "skip"; ?>
H A Dbug41034.phpt4 <?php if (!extension_loaded("json")) print "skip"; ?>
H A Djson_encode_numeric.phpt4 <?php if (!extension_loaded("json")) print "skip"; ?>
H A Dbug62010.phpt4 <?php if (!extension_loaded("json")) print "skip"; ?>
/PHP-7.1/ext/simplexml/tests/
H A Dbug66084_1.phpt2 Bug #66084 simplexml_load_string() mangles empty node name, json variant
5 <?php if (!extension_loaded("json")) print "skip json not available"; ?>
/PHP-7.1/ext/pdo_pgsql/tests/
H A Dbug66584.phpt6 if (!extension_loaded('json')) die('skip json ext not loaded');

Completed in 26 milliseconds

1234