From 45d596ea1e32792c7b7b7f28be220dea861b6708 Mon Sep 17 00:00:00 2001 From: Florian Anderiasch Date: Tue, 24 Jul 2012 13:15:16 +0200 Subject: Add optional depth parameter to json_encode #62369 --- ext/json/php_json.h | 1 + 1 file changed, 1 insertion(+) (limited to 'ext/json/php_json.h') diff --git a/ext/json/php_json.h b/ext/json/php_json.h index afeff3f6cc..2b3cf5868a 100644 --- a/ext/json/php_json.h +++ b/ext/json/php_json.h @@ -40,6 +40,7 @@ extern zend_module_entry json_module_entry; ZEND_BEGIN_MODULE_GLOBALS(json) int encoder_depth; int error_code; + int encode_max_depth; ZEND_END_MODULE_GLOBALS(json) #ifdef ZTS -- cgit v1.2.1