Searched refs:json_encode (Results 26 – 50 of 85) sorted by relevance
1234
/PHP-8.2/ext/json/tests/ |
H A D | 004.phpt | 2 json_encode() & endless loop - 2 13 var_dump(json_encode($a)); 18 var_dump(json_encode($a, JSON_PARTIAL_OUTPUT_ON_ERROR));
|
H A D | bug55543.phpt | 2 Bug #55543 (json_encode() with JSON_NUMERIC_CHECK & numeric string properties) 8 var_dump(json_encode($a, JSON_NUMERIC_CHECK));
|
H A D | json_encode_unescaped_slashes.phpt | 5 var_dump(json_encode('a/b')); 6 var_dump(json_encode('a/b', JSON_UNESCAPED_SLASHES));
|
H A D | 005.phpt | 2 json_encode() & endless loop - 3 10 var_dump(json_encode($a));
|
H A D | bug41567.phpt | 2 Bug #41567 (json_encode() double conversion is inconsistent with PHP) 8 $a = json_encode(123456789.12345);
|
H A D | bug41034.phpt | 2 Bug #41034 (json_encode() ignores null byte started keys in arrays) 5 echo json_encode(array(0, "\0ab"=>1, "\0null-prefixed value"));
|
H A D | json_encode_basic.phpt | 2 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 D | bug46215.phpt | 2 Bug #46215 (json_encode mutates its parameter and has some class-specific state) 11 $x = json_encode($a);
|
H A D | 009.phpt | 2 json_encode() with non-packed array that should be encoded as an array rather than object 8 var_dump(json_encode($a));
|
H A D | json_encode_pretty_print.phpt | 2 json_encode() with JSON_PRETTY_PRINT 7 $pretty = json_encode($struct, JSON_PRETTY_PRINT);
|
H A D | serialize.phpt | 2 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 D | bug41067.phpt | 2 Bug #41067 (json_encode() problem with UTF-16 input) 9 $json = json_encode($array);
|
H A D | unsupported_type_error.phpt | 10 var_dump(json_encode($resource)); 13 var_dump(json_encode($resource, JSON_PARTIAL_OUTPUT_ON_ERROR));
|
H A D | bug68992.phpt | 2 Bug #68992 (json_encode stacks exceptions thrown by JsonSerializable classes) 17 json_encode($classes);
|
H A D | bug42785.phpt | 16 var_dump(json_encode($foo)); 21 var_dump(json_encode($bar1));
|
H A D | bug61978.phpt | 30 var_dump(json_encode($obj1, JSON_PARTIAL_OUTPUT_ON_ERROR)); 35 var_dump(json_encode($obj2, JSON_PARTIAL_OUTPUT_ON_ERROR));
|
H A D | bug46944.phpt | 2 Bug #46944 (json_encode() doesn't handle 3 byte utf8 correctly) 10 echo json_encode($string) . "\n";
|
/PHP-8.2/.github/ |
H A D | nightly_matrix.php | 40 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 D | gh11917.phpt | 9 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 D | gh10519.phpt | 51 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 D | sensitive_parameter_value.phpt | 18 echo "# (array) / json_encode()", PHP_EOL; 20 var_dump(json_encode($v)); 39 # (array) / json_encode()
|
/PHP-8.2/ext/mysqli/tests/ |
H A D | bug70384.phpt | 51 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 D | json_encode.phpt | 2 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 D | get_object_vars_variation_004.phpt | 22 // Use json_encode to get a dump with apply_count > 0 23 json_encode($obj);
|
/PHP-8.2/ext/dom/tests/ |
H A D | DOMDocument_json_encode.phpt | 8 echo json_encode($doc);
|
Completed in 28 milliseconds
1234