Home
last modified time | relevance | path

Searched refs:json_encode (Results 1 – 25 of 60) sorted by last modified time

123

/PHP-7.4/ext/mysqli/tests/
H A Dbug70384.phpt49 if (json_encode($rows[0][0]) != json_encode($jsfield_data)) {
51 var_dump(json_encode($rows[0][0]) != json_encode($jsfield_data));
/PHP-7.4/
H A Dphp.ini-development297 ; The value is also used for json_encode when encoding double values.
H A Dphp.ini-production297 ; The value is also used for json_encode when encoding double values.
H A DUPGRADING.INTERNALS81 ZEND_PROP_PURPOSE_JSON // json_encode
/PHP-7.4/ext/standard/tests/general_functions/
H A Dis_callable_variation1.phpt25 echo json_encode($callable_name) . "\n";
28 echo json_encode($callable_name) . "\n";
/PHP-7.4/ext/json/
H A Djson.c35 static PHP_FUNCTION(json_encode);
68 PHP_FE(json_encode, arginfo_json_encode)
268 static PHP_FUNCTION(json_encode) in PHP_FUNCTION() argument
/PHP-7.4/ext/json/tests/
H A Dbug68567.phpt8 var_dump(json_encode(array("\x80" => 1), JSON_PARTIAL_OUTPUT_ON_ERROR));
H A Djson_encode_basic.phpt2 Test json_encode() function : basic functionality
7 echo "*** Testing json_encode() : basic functionality ***\n";
80 // loop through with each element of the $inputs array to test json_encode() function
84 var_dump(json_encode($input));
91 *** Testing json_encode() : basic functionality ***
H A Djson_encode_basic_utf8.phpt2 Test json_encode() function : basic functionality with UTF8 string input
7 echo "*** Testing json_encode() : basic functionality with UTF-8 input***\n";
10 var_dump(json_encode($utf8_string));
15 *** Testing json_encode() : basic functionality with UTF-8 input***
H A D002.phpt2 json_encode() tests
8 var_dump(json_encode(""));
9 var_dump(json_encode(NULL));
10 var_dump(json_encode(TRUE));
12 var_dump(json_encode(array(""=>"")));
13 var_dump(json_encode(array(array(1))));
14 var_dump(json_encode(array()));
16 var_dump(json_encode(array(""=>""), JSON_FORCE_OBJECT));
18 var_dump(json_encode(array(), JSON_FORCE_OBJECT));
20 var_dump(json_encode(1));
[all …]
H A D003.phpt2 json_encode() & endless loop - 1
15 var_dump(json_encode($a));
20 var_dump(json_encode($a, JSON_PARTIAL_OUTPUT_ON_ERROR));
H A D004.phpt2 json_encode() & endless loop - 2
15 var_dump(json_encode($a));
20 var_dump(json_encode($a, JSON_PARTIAL_OUTPUT_ON_ERROR));
H A D005.phpt2 json_encode() & endless loop - 3
12 var_dump(json_encode($a));
H A D006.phpt2 json_encode() & extended encoding
9 echo "Normal: ", json_encode($a), "\n";
10 echo "Tags: ", json_encode($a, JSON_HEX_TAG), "\n";
11 echo "Apos: ", json_encode($a, JSON_HEX_APOS), "\n";
12 echo "Quot: ", json_encode($a, JSON_HEX_QUOT), "\n";
13 echo "Amp: ", json_encode($a, JSON_HEX_AMP), "\n";
14 echo "All: ", json_encode($a, JSON_HEX_TAG|JSON_HEX_APOS|JSON_HEX_QUOT|JSON_HEX_AMP), "\n";
H A D009.phpt2 json_encode() with non-packed array that should be encoded as an array rather than object
10 var_dump(json_encode($a));
H A Dbug40503.phpt2 Bug #40503 (json_encode() value corruption on 32bit systems with overflown values)
14 json_test_show_eq("$value", json_encode($value));
16 json_test_show_eq("$value", json_encode($value));
H A Dbug41034.phpt2 Bug #41034 (json_encode() ignores null byte started keys in arrays)
7 echo json_encode(array(0, "\0ab"=>1, "\0null-prefixed value"));
H A Dbug41067.phpt2 Bug #41067 (json_encode() problem with UTF-16 input)
11 $json = json_encode($array);
H A Dbug41567.phpt2 Bug #41567 (json_encode() double conversion is inconsistent with PHP)
10 $a = json_encode(123456789.12345);
H A Dbug42090.phpt12 json_encode('"'),
13 json_decode(json_encode('"')),
14 json_decode(json_encode('""'))
/PHP-7.4/ext/standard/tests/url/
H A Dbase64_decode_basic_003.phpt37 …printf("base64 %-16s non-strict %-8s strict %s\n", json_encode($a), json_encode($b), json_encode($…
/PHP-7.4/ext/standard/tests/class_object/
H A Dget_object_vars_variation_004.phpt21 // Use json_encode to get a dump with apply_count > 0
22 json_encode($obj);
/PHP-7.4/ext/simplexml/tests/
H A Dbug66084_1.phpt8 echo json_encode(simplexml_load_string('<a><b/><c><x/></c></a>')->c), "\n";
9 echo json_encode(simplexml_load_string('<a><b/><c><x/></c></a>')), "\n";
10 echo json_encode(simplexml_load_string('<a><b/><d/><c><x/></c></a>')), "\n";
11 echo json_encode(simplexml_load_string('<a><b/><c><d/><x/></c></a>')), "\n";
12 echo json_encode(simplexml_load_string('<a><b/><c><d><x/></d></c></a>')), "\n";
/PHP-7.4/ext/pdo_pgsql/tests/
H A Dbug71885_2.phpt25 $jsonb = $db->quote(json_encode(['a' => 1]));
/PHP-7.4/ext/opcache/tests/
H A Djmp_elim_001.phpt15 echo json_encode($info) . "\n";

Completed in 34 milliseconds

123