Bug #34658 [Com]: Bad setting of float with non en locales

From: Date: Tue, 23 Aug 2022 05:47:01 +0000
Subject: Bug #34658 [Com]: Bad setting of float with non en locales
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-242293@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=34658&edit=1 ID: 34658 Comment by: giw42161 at uooos dot com Reported by: stanislav at pecha dot cz Summary: Bad setting of float with non en locales Status: No Feedback Type: Bug Package: SOAP related Operating System: Linux PHP Version: 5.0.5 Block user comment: N Private report: N New Comment: (https://centurylawfirm.in/)gist.github.com (https://www.centurylawfirm.in/blog/lawyer-for-writ-petition/)gist.github.com (https://www.centurylawfirm.in/blog/best-law-firm-in-delhi/)gist.github.com (https://www.centurylawfirm.in/blog/best-law-firm-in-delhi/)gist.github.com (https://www.centurylawfirm.in/blog/muslim-divorce-lawyer/)gist.github.com (https://centurylawfirm.in/blog/how-to-take-mutual-divorce/)gist.github.com (https://www.centurylawfirm.in/blog/things-to-consider-before-choosing-a-criminal-lawyer-in-delhi/)gist.github.com (https://www.centurylawfirm.in/blog/criminal-lawyer-in-delhi/)gist.github.com (https://centurylawfirm.in/blog/divorce-lawyer-in-delhi-2/)gist.github.com (https://centurylawfirm.in/blog/debt-recovery-tribunal-drt/)gist.github.com (https://centurylawfirm.in/blog/get-bail-in-india/)gist.github.com (https://centurylawfirm.in/blog/best-lawyer-for-criminal-case/)gist.github.com (https://centurylawfirm.in/blog/high-court-cases/)gist.github.com (https://centurylawfirm.in/blog/cheque-bounce-case/)gist.github.com (https://centurylawfirm.in/blog/how-to-take-mutual-divorce/)gist.github.com Previous Comments: ------------------------------------------------------------------------ [2005-10-05 01:00:09] 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". ------------------------------------------------------------------------ [2005-09-27 15:15:11] 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-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 https://bugs.php.net/bug.php?id=34658&edit=1

« previous php.bugs (#242293) next »