Skip to content

Commit c3ed1af

Browse files
committed
update threshold
1 parent b6875ae commit c3ed1af

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ext/json/json_encoder.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ static inline void php_json_pretty_print_indent(smart_str *buf, int options, con
5555
{
5656
if (options & PHP_JSON_PRETTY_PRINT) {
5757
int depth = encoder->depth;
58-
if (depth <= 2) {
58+
if (depth <= 8) {
5959
int i;
6060
for (i = 0; i < depth; i++) {
6161
smart_str_appendl(buf, " ", 4);

0 commit comments

Comments
 (0)