Skip to content

Commit f284479

Browse files
committed
Merge branch 'PHP-7.0' into PHP-7.1
2 parents 47252a1 + 60574ea commit f284479

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/json/json.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ static PHP_GINIT_FUNCTION(json)
141141
#endif
142142
json_globals->encoder_depth = 0;
143143
json_globals->error_code = 0;
144-
json_globals->encode_max_depth = 0;
144+
json_globals->encode_max_depth = PHP_JSON_PARSER_DEFAULT_DEPTH;
145145
}
146146
/* }}} */
147147

0 commit comments

Comments
 (0)