Merge branch 'PHP-7.0' into PHP-7.1

This commit is contained in:
Jakub Zelenka 2016-11-20 20:38:34 +00:00
commit f284479734

View file

@ -141,7 +141,7 @@ static PHP_GINIT_FUNCTION(json)
#endif
json_globals->encoder_depth = 0;
json_globals->error_code = 0;
json_globals->encode_max_depth = 0;
json_globals->encode_max_depth = PHP_JSON_PARSER_DEFAULT_DEPTH;
}
/* }}} */