php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #34658 Bad setting of float with non en locales
Submitted: 2005-09-27 15:05 UTC Modified: 2005-10-05 01:00 UTC
From: stanislav at pecha dot cz Assigned:
Status: No Feedback Package: SOAP related
PHP Version: 5.0.5 OS: Linux
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: stanislav at pecha dot cz
New email:
PHP Version: OS:

 

 [2005-09-27 15:05 UTC] 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

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-09-27 15:15 UTC] tony2001@php.net
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


 [2005-10-05 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Mar 19 10:01:30 2024 UTC