/PHP-5.6/ext/json/ |
H A D | config.w32 | 4 ARG_ENABLE("json", "JavaScript Object Serialization support", "yes"); 7 EXTENSION('json', 'json.c', PHP_JSON_SHARED, ""); 8 ADD_SOURCES(configure_module_dirname, "JSON_parser.c", "json"); 9 PHP_INSTALL_HEADERS("ext/json/", "php_json.h");
|
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, json.c JSON_parser.c, $ext_shared) 13 PHP_INSTALL_HEADERS([ext/json], [php_json.h])
|
H A D | README | 1 json 1.2.0 19 mixed json_decode ( string json, [bool assoc] ) 34 $json = '{"a":1,"b":2,"c":3,"d":4,"e":5}'; 35 var_dump(json_decode($json)); 50 $json = '{"a":1,"b":2,"c":3,"d":4,"e":5}'; 51 var_dump(json_decode($json, true)); 75 [0] http://www.crockford.com/JSON/draft-jsonorg-json-00.txt
|
H A D | json.dsp | 1 # Microsoft Developer Studio Project File - Name="json" - Package Owner=<4> 7 CFG=json - Win32 Debug_TS 11 !MESSAGE NMAKE /f "json.mak". 16 !MESSAGE NMAKE /f "json.mak" CFG="json - Win32 Debug_TS" 20 !MESSAGE "json - Win32 Debug_TS" (based on "Win32 (x86) Dynamic-Link Library") 21 !MESSAGE "json - Win32 Release_TS" (based on "Win32 (x86) Dynamic-Link Library") 32 !IF "$(CFG)" == "json - Win32 Debug_TS" 58 !ELSEIF "$(CFG)" == "json - Win32 Release_TS" 88 # Name "json - Win32 Debug_TS" 89 # Name "json - Win32 Release_TS" [all …]
|
H A D | php_json.h | 40 ZEND_BEGIN_MODULE_GLOBALS(json) 44 ZEND_END_MODULE_GLOBALS(json)
|
H A D | json.c | 42 static PHP_MINFO_FUNCTION(json); 52 ZEND_DECLARE_MODULE_GLOBALS(json) 62 ZEND_ARG_INFO(0, json) 97 static PHP_MINIT_FUNCTION(json) in PHP_MINIT_FUNCTION() argument 135 static PHP_GINIT_FUNCTION(json) in PHP_GINIT_FUNCTION() argument 150 PHP_MINIT(json), 154 PHP_MINFO(json), 156 PHP_MODULE_GLOBALS(json), 157 PHP_GINIT(json), 165 ZEND_GET_MODULE(json) [all …]
|
/PHP-5.6/ext/json/tests/ |
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 | 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 | 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 | bug54484.phpt | 4 <?php if (!extension_loaded("json")) print "skip"; ?> 13 json_decode("invalid 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 | 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 | 005.phpt | 4 <?php if (!extension_loaded("json")) print "skip"; ?>
|
H A D | bug41567.phpt | 6 <?php if (!extension_loaded('json')) print 'skip'; ?>
|
H A D | bug42090.phpt | 4 <?php if (!extension_loaded("json")) print "skip"; ?>
|
H A D | bug41034.phpt | 4 <?php if (!extension_loaded("json")) print "skip"; ?>
|
H A D | json_encode_numeric.phpt | 4 <?php if (!extension_loaded("json")) print "skip"; ?>
|
/PHP-5.6/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-5.6/sapi/fpm/tests/ |
H A D | 010.phpt | 41 $json = run_request('127.0.0.1', $port, '/status', 'json'); 42 var_dump(strpos($json, 'application/json') && strpos($json, '"pool":"unconfined"'));
|
/PHP-5.6/ext/pdo_pgsql/tests/ |
H A D | bug66584.phpt | 6 if (!extension_loaded('json')) die('skip json ext not loaded');
|