summaryrefslogtreecommitdiff
path: root/ext/json/php_json.h
diff options
context:
space:
mode:
authorYasuo Ohgaki <yohgaki@ohgaki.net>2015-08-05 14:36:37 +0900
committerJakub Zelenka <bukka@php.net>2016-06-26 13:26:43 +0100
commit3aa2aadcf0c39d7d22532c46d8921f443d27166f (patch)
treebc11f20aee95df13fb78072ddb85c53127e05121 /ext/json/php_json.h
parentf943daf2d7eeed98d3ead5c05637c2ea8a2ff0e6 (diff)
downloadphp-git-3aa2aadcf0c39d7d22532c46d8921f443d27166f.tar.gz
Add JSON_G(precision)
Diffstat (limited to 'ext/json/php_json.h')
-rw-r--r--ext/json/php_json.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/json/php_json.h b/ext/json/php_json.h
index d1fabd1e6b..2bf1c68eb4 100644
--- a/ext/json/php_json.h
+++ b/ext/json/php_json.h
@@ -81,6 +81,7 @@ typedef enum {
#define PHP_JSON_PARSER_DEFAULT_DEPTH 512
ZEND_BEGIN_MODULE_GLOBALS(json)
+ zend_long precision;
int encoder_depth;
int encode_max_depth;
php_json_error_code error_code;