summaryrefslogtreecommitdiff
path: root/ext/json/php_json.h
diff options
context:
space:
mode:
authorJuan Basso <jrbasso@gmail.com>2015-01-12 21:29:52 -0500
committerJuan Basso <jrbasso@gmail.com>2015-01-12 21:29:52 -0500
commit95cef47afb0b5329915a178d34cf27efcb54607b (patch)
treef8a1ff72cb29166cbad04df3ec035dc18dad40e0 /ext/json/php_json.h
parente6fb493e5dbafdad37ba5334c986636342b5d9aa (diff)
downloadphp-git-95cef47afb0b5329915a178d34cf27efcb54607b.tar.gz
Porting implementation of RFC json_preserve_fractional_part
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 25c799b383..2a26b97181 100644
--- a/ext/json/php_json.h
+++ b/ext/json/php_json.h
@@ -64,6 +64,7 @@ typedef enum {
#define PHP_JSON_PRETTY_PRINT (1<<7)
#define PHP_JSON_UNESCAPED_UNICODE (1<<8)
#define PHP_JSON_PARTIAL_OUTPUT_ON_ERROR (1<<9)
+#define PHP_JSON_PRESERVE_ZERO_FRACTION (1<<10)
/* Internal flags */
#define PHP_JSON_OUTPUT_ARRAY 0