Home
last modified time | relevance | path

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

12

/PHP-5.3/ext/json/
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, json.c utf8_to_utf16.c utf8_decode.c JSON_parser.c, $ext_shared)
13 PHP_INSTALL_HEADERS([ext/json], [php_json.h])
H A Dconfig.w324 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 utf8_decode.c utf8_to_utf16.c", "json");
H A DREADME1 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 Djson.dsp1 # 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 Djson.c33 static PHP_MINFO_FUNCTION(json);
40 ZEND_DECLARE_MODULE_GLOBALS(json)
49 ZEND_ARG_INFO(0, json)
68 static PHP_MINIT_FUNCTION(json) in PHP_MINIT_FUNCTION() argument
90 static PHP_GINIT_FUNCTION(json) in PHP_GINIT_FUNCTION() argument
103 PHP_MINIT(json),
107 PHP_MINFO(json),
109 PHP_MODULE_GLOBALS(json),
110 PHP_GINIT(json),
118 ZEND_GET_MODULE(json)
[all …]
H A Dphp_json.h40 ZEND_BEGIN_MODULE_GLOBALS(json)
42 ZEND_END_MODULE_GLOBALS(json)
/PHP-5.3/ext/json/tests/
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 Dbug54484.phpt4 <?php if (!extension_loaded("json")) print "skip"; ?>
14 json_decode("invalid json");
H A Djson_decode_error.phpt5 if (!extension_loaded("json")) {
11 /* Prototype : mixed json_decode ( string $json [, bool $assoc=false [, int $depth=512 ]] )
13 * Source code: ext/json/php_json.c
H A Dbug47644.phpt5 if (!extension_loaded('json')) die('skip: json extension not available');
H A Djson_encode_basic_utf8.phpt5 if (!extension_loaded("json")) {
13 * Source code: ext/json/php_json.c
H A Dpass002.phpt2 JSON (http://www.crockford.com/JSON/JSON_checker/test/pass2.json)
5 if (!extension_loaded('json')) die('skip: json extension not available');
H A Djson_encode_error.phpt5 if (!extension_loaded("json")) {
13 * Source code: ext/json/php_json.c
H A Djson_decode_basic.phpt5 if (!extension_loaded("json")) {
11 /* Prototype : mixed json_decode ( string $json [, bool $assoc ] )
13 * Source code: ext/json/php_json.c
H A Dpass003.phpt2 JSON (http://www.crockford.com/JSON/JSON_checker/test/pass3.json)
5 if (!extension_loaded('json')) die('skip: json extension not available');
H A Dbug45791.phpt4 <?php if (!extension_loaded("json")) print "skip"; ?>
H A Dbug55543.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 Dbug40503.phpt6 <?php if (!extension_loaded("json")) print "skip"; ?>
H A D004.phpt4 <?php if (!extension_loaded("json")) print "skip"; ?>
H A Dbug46215.phpt5 if (!extension_loaded("json")) {
H A Dbug43941.phpt4 <?php if (!extension_loaded("json")) print "skip"; ?>

Completed in 32 milliseconds

12