diff options
author | Juan Basso <jrbasso@gmail.com> | 2015-01-12 21:29:52 -0500 |
---|---|---|
committer | Juan Basso <jrbasso@gmail.com> | 2015-01-12 21:29:52 -0500 |
commit | 95cef47afb0b5329915a178d34cf27efcb54607b (patch) | |
tree | f8a1ff72cb29166cbad04df3ec035dc18dad40e0 /ext/json/json.c | |
parent | e6fb493e5dbafdad37ba5334c986636342b5d9aa (diff) | |
download | php-git-95cef47afb0b5329915a178d34cf27efcb54607b.tar.gz |
Porting implementation of RFC json_preserve_fractional_part
Diffstat (limited to 'ext/json/json.c')
-rw-r--r-- | ext/json/json.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/json/json.c b/ext/json/json.c index 819a6dfe8e..7db6136e87 100644 --- a/ext/json/json.c +++ b/ext/json/json.c @@ -102,6 +102,7 @@ static PHP_MINIT_FUNCTION(json) REGISTER_LONG_CONSTANT("JSON_PRETTY_PRINT", PHP_JSON_PRETTY_PRINT, CONST_CS | CONST_PERSISTENT); REGISTER_LONG_CONSTANT("JSON_UNESCAPED_UNICODE", PHP_JSON_UNESCAPED_UNICODE, CONST_CS | CONST_PERSISTENT); REGISTER_LONG_CONSTANT("JSON_PARTIAL_OUTPUT_ON_ERROR", PHP_JSON_PARTIAL_OUTPUT_ON_ERROR, CONST_CS | CONST_PERSISTENT); + REGISTER_LONG_CONSTANT("JSON_PRESERVE_ZERO_FRACTION", PHP_JSON_PRESERVE_ZERO_FRACTION, CONST_CS | CONST_PERSISTENT); REGISTER_LONG_CONSTANT("JSON_ERROR_NONE", PHP_JSON_ERROR_NONE, CONST_CS | CONST_PERSISTENT); REGISTER_LONG_CONSTANT("JSON_ERROR_DEPTH", PHP_JSON_ERROR_DEPTH, CONST_CS | CONST_PERSISTENT); |