Home
last modified time | relevance | path

Searched refs:json_encode (Results 26 – 50 of 85) sorted by relevance

1234

/PHP-8.2/ext/json/tests/
H A D004.phpt2 json_encode() & endless loop - 2
13 var_dump(json_encode($a));
18 var_dump(json_encode($a, JSON_PARTIAL_OUTPUT_ON_ERROR));
H A Dbug55543.phpt2 Bug #55543 (json_encode() with JSON_NUMERIC_CHECK & numeric string properties)
8 var_dump(json_encode($a, JSON_NUMERIC_CHECK));
H A Djson_encode_unescaped_slashes.phpt5 var_dump(json_encode('a/b'));
6 var_dump(json_encode('a/b', JSON_UNESCAPED_SLASHES));
H A D005.phpt2 json_encode() & endless loop - 3
10 var_dump(json_encode($a));
H A Dbug41567.phpt2 Bug #41567 (json_encode() double conversion is inconsistent with PHP)
8 $a = json_encode(123456789.12345);
H A Dbug41034.phpt2 Bug #41034 (json_encode() ignores null byte started keys in arrays)
5 echo json_encode(array(0, "\0ab"=>1, "\0null-prefixed value"));
H A Djson_encode_basic.phpt2 Test json_encode() function : basic functionality
5 echo "*** Testing json_encode() : basic functionality ***\n";
75 // loop through with each element of the $inputs array to test json_encode() function
79 var_dump(json_encode($input));
85 *** Testing json_encode() : basic functionality ***
H A Dbug46215.phpt2 Bug #46215 (json_encode mutates its parameter and has some class-specific state)
11 $x = json_encode($a);
H A D009.phpt2 json_encode() with non-packed array that should be encoded as an array rather than object
8 var_dump(json_encode($a));
H A Djson_encode_pretty_print.phpt2 json_encode() with JSON_PRETTY_PRINT
7 $pretty = json_encode($struct, JSON_PRETTY_PRINT);
H A Dserialize.phpt2 json_encode() Serialization tests
58 echo json_encode(new $class($adata)), "\n";
59 echo json_encode(new $class($ndata)), "\n";
60 echo json_encode(new $class($odata)), "\n";
H A Dbug41067.phpt2 Bug #41067 (json_encode() problem with UTF-16 input)
9 $json = json_encode($array);
H A Dunsupported_type_error.phpt10 var_dump(json_encode($resource));
13 var_dump(json_encode($resource, JSON_PARTIAL_OUTPUT_ON_ERROR));
H A Dbug68992.phpt2 Bug #68992 (json_encode stacks exceptions thrown by JsonSerializable classes)
17 json_encode($classes);
H A Dbug42785.phpt16 var_dump(json_encode($foo));
21 var_dump(json_encode($bar1));
H A Dbug61978.phpt30 var_dump(json_encode($obj1, JSON_PARTIAL_OUTPUT_ON_ERROR));
35 var_dump(json_encode($obj2, JSON_PARTIAL_OUTPUT_ON_ERROR));
H A Dbug46944.phpt2 Bug #46944 (json_encode() doesn't handle 3 byte utf8 correctly)
10 echo json_encode($string) . "\n";
/PHP-8.2/.github/
H A Dnightly_matrix.php40 file_put_contents($branch_commit_cache_file, json_encode($branch_commit_map));
112 echo '::set-output name=branches::' . json_encode($branches, JSON_UNESCAPED_SLASHES) . "\n";
113 echo '::set-output name=matrix-include::' . json_encode($matrix_include, JSON_UNESCAPED_SLASHES) . …
114 echo '::set-output name=windows-matrix-include::' . json_encode($windows_matrix_include, JSON_UNESC…
/PHP-8.2/ext/opcache/tests/jit/
H A Dgh11917.phpt9 echo crc32(json_encode(bitwise_small_split($a))) . "\n";
10 echo crc32(json_encode(bitwise_small_split($a))) . "\n";
11 echo crc32(json_encode(bitwise_small_split($a))) . "\n";
12 echo crc32(json_encode(bitwise_small_split($a))) . "\n";
/PHP-8.2/ext/spl/tests/
H A Dgh10519.phpt51 var_dump(json_encode($example));
52 var_dump(json_encode($a));
62 var_dump(json_encode($example));
63 var_dump(json_encode($b));
/PHP-8.2/Zend/tests/function_arguments/
H A Dsensitive_parameter_value.phpt18 echo "# (array) / json_encode()", PHP_EOL;
20 var_dump(json_encode($v));
39 # (array) / json_encode()
/PHP-8.2/ext/mysqli/tests/
H A Dbug70384.phpt51 if (json_encode($rows[0][0]) != json_encode($jsfield_data)) {
53 var_dump(json_encode($rows[0][0]) != json_encode($jsfield_data));
/PHP-8.2/Zend/tests/enum/
H A Djson_encode.phpt2 Enum in json_encode
27 var_dump(json_encode($value));
35 var_dump(json_encode($value, JSON_THROW_ON_ERROR));
/PHP-8.2/ext/standard/tests/class_object/
H A Dget_object_vars_variation_004.phpt22 // Use json_encode to get a dump with apply_count > 0
23 json_encode($obj);
/PHP-8.2/ext/dom/tests/
H A DDOMDocument_json_encode.phpt8 echo json_encode($doc);

Completed in 28 milliseconds

1234