/PHP-7.4/ext/mysqli/tests/ |
H A D | bug70384.phpt | 49 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 D | php.ini-development | 297 ; The value is also used for json_encode when encoding double values.
|
H A D | php.ini-production | 297 ; The value is also used for json_encode when encoding double values.
|
H A D | UPGRADING.INTERNALS | 81 ZEND_PROP_PURPOSE_JSON // json_encode
|
/PHP-7.4/ext/standard/tests/general_functions/ |
H A D | is_callable_variation1.phpt | 25 echo json_encode($callable_name) . "\n"; 28 echo json_encode($callable_name) . "\n";
|
/PHP-7.4/ext/json/ |
H A D | json.c | 35 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 D | bug68567.phpt | 8 var_dump(json_encode(array("\x80" => 1), JSON_PARTIAL_OUTPUT_ON_ERROR));
|
H A D | json_encode_basic.phpt | 2 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 D | json_encode_basic_utf8.phpt | 2 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 D | 002.phpt | 2 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 D | 003.phpt | 2 json_encode() & endless loop - 1 15 var_dump(json_encode($a)); 20 var_dump(json_encode($a, JSON_PARTIAL_OUTPUT_ON_ERROR));
|
H A D | 004.phpt | 2 json_encode() & endless loop - 2 15 var_dump(json_encode($a)); 20 var_dump(json_encode($a, JSON_PARTIAL_OUTPUT_ON_ERROR));
|
H A D | 005.phpt | 2 json_encode() & endless loop - 3 12 var_dump(json_encode($a));
|
H A D | 006.phpt | 2 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 D | 009.phpt | 2 json_encode() with non-packed array that should be encoded as an array rather than object 10 var_dump(json_encode($a));
|
H A D | bug40503.phpt | 2 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 D | bug41034.phpt | 2 Bug #41034 (json_encode() ignores null byte started keys in arrays) 7 echo json_encode(array(0, "\0ab"=>1, "\0null-prefixed value"));
|
H A D | bug41067.phpt | 2 Bug #41067 (json_encode() problem with UTF-16 input) 11 $json = json_encode($array);
|
H A D | bug41567.phpt | 2 Bug #41567 (json_encode() double conversion is inconsistent with PHP) 10 $a = json_encode(123456789.12345);
|
H A D | bug42090.phpt | 12 json_encode('"'), 13 json_decode(json_encode('"')), 14 json_decode(json_encode('""'))
|
/PHP-7.4/ext/standard/tests/url/ |
H A D | base64_decode_basic_003.phpt | 37 …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 D | get_object_vars_variation_004.phpt | 21 // Use json_encode to get a dump with apply_count > 0 22 json_encode($obj);
|
/PHP-7.4/ext/simplexml/tests/ |
H A D | bug66084_1.phpt | 8 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 D | bug71885_2.phpt | 25 $jsonb = $db->quote(json_encode(['a' => 1]));
|
/PHP-7.4/ext/opcache/tests/ |
H A D | jmp_elim_001.phpt | 15 echo json_encode($info) . "\n";
|