We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b6875ae commit c3ed1afCopy full SHA for c3ed1af
1 file changed
ext/json/json_encoder.c
@@ -55,7 +55,7 @@ static inline void php_json_pretty_print_indent(smart_str *buf, int options, con
55
{
56
if (options & PHP_JSON_PRETTY_PRINT) {
57
int depth = encoder->depth;
58
- if (depth <= 2) {
+ if (depth <= 8) {
59
int i;
60
for (i = 0; i < depth; i++) {
61
smart_str_appendl(buf, " ", 4);
0 commit comments