From ac7cfad3b54b04b7ff2d0e4bfd26e8b61d233613 Mon Sep 17 00:00:00 2001 From: Juan Basso Date: Sat, 29 Mar 2014 19:41:48 -0400 Subject: Fixed bug #50224 where float without decimals were converted to integer --- ext/json/php_json.h | 1 + 1 file changed, 1 insertion(+) (limited to 'ext/json/php_json.h') diff --git a/ext/json/php_json.h b/ext/json/php_json.h index 7347ef7e06..efd872b5f4 100644 --- a/ext/json/php_json.h +++ b/ext/json/php_json.h @@ -65,6 +65,7 @@ extern PHP_JSON_API zend_class_entry *php_json_serializable_ce; #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 -- cgit v1.2.1