summaryrefslogtreecommitdiff
path: root/ext/json/php_json.h
diff options
context:
space:
mode:
authorJakub Zelenka <bukka@php.net>2015-01-18 16:26:25 +0000
committerJakub Zelenka <bukka@php.net>2015-01-18 16:26:25 +0000
commit91386cb2879782c574d1f67b4c472f1f9b40d839 (patch)
treef19250b5b935ddabd75fb6545ac9ff200ddd08c5 /ext/json/php_json.h
parentb3823f5cab4e405b767cd8dddebb54b1c29bd2a8 (diff)
parent95cef47afb0b5329915a178d34cf27efcb54607b (diff)
downloadphp-git-91386cb2879782c574d1f67b4c472f1f9b40d839.tar.gz
Merge pull request #1 from jrbasso/json_preserve_fractional_part
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