#34658 [Opn->Fbk]: Bad setting of float with non en locales
ID: 34658
Updated by: tony2001@php.net
Reported By: stanislav at pecha dot cz
-Status: Open
+Status: Feedback
Bug Type: SOAP related
Operating System: Linux
PHP Version: 5.0.5
New Comment:
Please try using this CVS snapshot:
http://snaps.php.net/php5-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php5-win32-latest.zip
Previous Comments:
------------------------------------------------------------------------
[2005-09-27 15:05:10] stanislav at pecha dot cz
Description:
------------
I think it is a same bug as #31699 and #32442
WSDL sends x=985.25
setlocale(LC_NUMERIC, "en_US.UTF-8");
SOAPCLIENT returns x=985.25
but
WSDL sends x=985.25
setlocale(LC_NUMERIC, "cs_CZ.UTF-8");
//probably same with fr_FR too
SOAPCLIENT returns x=985.00
Expected result:
----------------
(float) 985.25
Actual result:
--------------
(float) 985.00
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=34658&edit=1
Thread (3 messages)