diff options
author | Christoph M. Becker <cmbecker69@gmx.de> | 2021-02-04 14:43:17 +0100 |
---|---|---|
committer | Christoph M. Becker <cmbecker69@gmx.de> | 2021-02-05 13:09:59 +0100 |
commit | 3f8d21b9226493365cbb9f913322f5da6965c974 (patch) | |
tree | 7a337d7d0ee722137e19f3c8c616cd0d30436cde /NEWS | |
parent | 8b7aaad7d65779b1d6497436b4e7da52f53d159c (diff) | |
download | php-git-3f8d21b9226493365cbb9f913322f5da6965c974.tar.gz |
Fix #74779: x() and y() truncating floats to integers
We must not use the locale dependent `atof()`, but instead use the
(hopefully) locale independent `zend_strtod()`, when converting string
representations of floating point numbers which are sent by the server.
Closes GH-6665.
Diffstat (limited to 'NEWS')
-rw-r--r-- | NEWS | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -2,6 +2,9 @@ PHP NEWS ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| ?? ??? 2021, PHP 7.4.16 +- MySQLi: + . Fixed bug #74779 (x() and y() truncating floats to integers). (cmb) + - OPcache: . Fixed bug #80682 (opcache doesn't honour pcre.jit option). (Remi) |