Home
last modified time | relevance | path

Searched refs:JSON_PRETTY_PRINT (Results 1 – 7 of 7) sorted by relevance

/PHP-8.2/ext/json/tests/
H A Djson_encode_pretty_print2.phpt2 json_encode() with JSON_PRETTY_PRINT on declared properties
18 echo json_encode(new HasNoProperties(), JSON_PRETTY_PRINT), "\n";
21 echo json_encode(new MyClass(), JSON_PRETTY_PRINT), "\n";
25 echo json_encode($obj, JSON_PRETTY_PRINT), "\n";
29 echo json_encode($obj, JSON_PRETTY_PRINT), "\n";
32 echo json_encode($obj, JSON_PRETTY_PRINT), "\n";
H A Dbug73254.phpt2 Bug #73254 (Incorrect indentation generated by json_encode() with JSON_PRETTY_PRINT)
6 echo json_encode([json_encode([1], JSON_PRETTY_PRINT)]), "\n";
11 echo json_encode([json_encode([1], JSON_PRETTY_PRINT)]), "\n";
H A Dbug66021.phpt2 Bug #66021 (Blank line inside empty array/object when JSON_PRETTY_PRINT is set)
10 echo json_encode(array(array(), (object) array(), new Foo), JSON_PRETTY_PRINT);
H A Djson_encode_pretty_print.phpt2 json_encode() with JSON_PRETTY_PRINT
7 $pretty = json_encode($struct, JSON_PRETTY_PRINT);
H A Dbug66025.phpt8 return json_encode([1], JSON_PRETTY_PRINT);
/PHP-8.2/ext/json/
H A Djson.stub.php44 const JSON_PRETTY_PRINT = UNKNOWN; define
/PHP-8.2/build/
H A Dgen_stub.php4724 echo json_encode($parameterStats, JSON_PRETTY_PRINT), "\n";

Completed in 23 milliseconds