Home
last modified time | relevance | path

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

123

/PHP-7.2/ext/json/tests/
H A D005.phpt2 json_encode() & endless loop - 3
12 var_dump(json_encode($a));
H A Dbug41567.phpt2 Bug #41567 (json_encode() double conversion is inconsistent with PHP)
10 $a = json_encode(123456789.12345);
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 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 Dbug46215.phpt2 Bug #46215 (json_encode mutates its parameter and has some class-specific state)
13 $x = json_encode($a);
H A Djson_encode_pretty_print.phpt2 json_encode() with JSON_PRETTY_PRINT
9 $pretty = json_encode($struct, JSON_PRETTY_PRINT);
H A Dserialize.phpt2 json_encode() Serialization tests
60 echo json_encode(new $class($adata)), "\n";
61 echo json_encode(new $class($ndata)), "\n";
62 echo json_encode(new $class($odata)), "\n";
H A Dbug41067.phpt2 Bug #41067 (json_encode() problem with UTF-16 input)
11 $json = json_encode($array);
H A Dunsupported_type_error.phpt12 var_dump(json_encode($resource));
15 var_dump(json_encode($resource, JSON_PARTIAL_OUTPUT_ON_ERROR));
H A Dbug68992.phpt2 Bug #68992 (json_encode stacks exceptions thrown by JsonSerializable classes)
21 json_encode($classes);
H A Dbug42785.phpt17 var_dump(json_encode($foo));
23 var_dump(json_encode($bar1));
H A Dbug61978.phpt32 var_dump(json_encode($obj1, JSON_PARTIAL_OUTPUT_ON_ERROR));
37 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)
12 echo json_encode($string) . "\n";
H A Dbug68567.phpt8 var_dump(json_encode(array("\x80" => 1), JSON_PARTIAL_OUTPUT_ON_ERROR));
H A Dbug66021.phpt12 echo json_encode(array(array(), (object) array(), new Foo), JSON_PRETTY_PRINT);
H A Dbug64695.phpt8 var_dump(json_encode($t, JSON_NUMERIC_CHECK));
H A Dbug77843.phpt17 var_dump(json_encode([&$arr]));
H A Dbug73113.phpt19 echo json_encode($obj);
H A Dpass002.phpt18 $obj_enc = json_encode($obj);
21 $arr_enc = json_encode($arr);
H A Dpass003.phpt26 $obj_enc = json_encode($obj);
29 $arr_enc = json_encode($arr);
/PHP-7.2/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.2/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.2/ext/opcache/tests/
H A Djmp_elim_001.phpt15 echo json_encode($info) . "\n";
/PHP-7.2/ext/json/
H A Djson.c35 static PHP_FUNCTION(json_encode);
67 PHP_FE(json_encode, arginfo_json_encode)
228 static PHP_FUNCTION(json_encode) in PHP_FUNCTION() argument
/PHP-7.2/ext/standard/tests/general_functions/
H A Dis_callable_variation1.phpt28 echo json_encode($callable_name) . "\n";
31 echo json_encode($callable_name) . "\n";

Completed in 26 milliseconds

123