diff options
author | Florian Anderiasch <fa@php.net> | 2012-07-24 13:15:16 +0200 |
---|---|---|
committer | Florian Anderiasch <fa@php.net> | 2012-07-24 13:15:16 +0200 |
commit | 45d596ea1e32792c7b7b7f28be220dea861b6708 (patch) | |
tree | 9dc75d99db089e813944ff8229618c307a70d686 /ext/json/php_json.h | |
parent | dd9d64b21e4bbc8a106a6156dc6ffefbcc33ec02 (diff) | |
download | php-git-45d596ea1e32792c7b7b7f28be220dea861b6708.tar.gz |
Add optional depth parameter to json_encode #62369
Diffstat (limited to 'ext/json/php_json.h')
-rw-r--r-- | ext/json/php_json.h | 1 |
1 files changed, 1 insertions, 0 deletions
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 |