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 /ext/json/json.c | |
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 'ext/json/json.c')
0 files changed, 0 insertions, 0 deletions