mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
Fixed bug #50224 where float without decimals were converted to integer
This commit is contained in:
parent
6de149e47c
commit
ac7cfad3b5
5 changed files with 97 additions and 8 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue