We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 685b129 commit 60574eaCopy full SHA for 60574ea
NEWS
@@ -17,6 +17,9 @@ PHP NEWS
17
This may be enabled again using envirionment variable USE_ZEND_DTRACE=1.
18
(Dmitry)
19
20
+- JSON:
21
+ . Fixed bug #73526 (php_json_encode depth issue). (Jakub Zelenka)
22
+
23
- Mysqlnd:
24
. Fixed bug #64526 (Add missing mysqlnd.* parameters to php.ini-*). (cmb)
25
ext/json/json.c
@@ -148,7 +148,7 @@ static PHP_GINIT_FUNCTION(json)
148
#endif
149
json_globals->encoder_depth = 0;
150
json_globals->error_code = 0;
151
- json_globals->encode_max_depth = 0;
+ json_globals->encode_max_depth = PHP_JSON_PARSER_DEFAULT_DEPTH;
152
}
153
/* }}} */
154
0 commit comments