Porting implementation of RFC json_preserve_fractional_part

This commit is contained in:
Juan Basso 2015-01-12 21:29:52 -05:00
parent e6fb493e5d
commit 95cef47afb
4 changed files with 70 additions and 3 deletions

View file

@ -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