From:             stanislav at pecha dot cz
Operating system: Linux
PHP version:      5.0.5
PHP Bug Type:     SOAP related
Bug description:  Bad setting of float with non en locales

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 bug report at http://bugs.php.net/?id=34658&edit=1
-- 
Try a CVS snapshot (php4):   http://bugs.php.net/fix.php?id=34658&r=trysnapshot4
Try a CVS snapshot (php5.0): 
http://bugs.php.net/fix.php?id=34658&r=trysnapshot50
Try a CVS snapshot (php5.1): 
http://bugs.php.net/fix.php?id=34658&r=trysnapshot51
Fixed in CVS:                http://bugs.php.net/fix.php?id=34658&r=fixedcvs
Fixed in release:            http://bugs.php.net/fix.php?id=34658&r=alreadyfixed
Need backtrace:              http://bugs.php.net/fix.php?id=34658&r=needtrace
Need Reproduce Script:       http://bugs.php.net/fix.php?id=34658&r=needscript
Try newer version:           http://bugs.php.net/fix.php?id=34658&r=oldversion
Not developer issue:         http://bugs.php.net/fix.php?id=34658&r=support
Expected behavior:           http://bugs.php.net/fix.php?id=34658&r=notwrong
Not enough info:             
http://bugs.php.net/fix.php?id=34658&r=notenoughinfo
Submitted twice:             
http://bugs.php.net/fix.php?id=34658&r=submittedtwice
register_globals:            http://bugs.php.net/fix.php?id=34658&r=globals
PHP 3 support discontinued:  http://bugs.php.net/fix.php?id=34658&r=php3
Daylight Savings:            http://bugs.php.net/fix.php?id=34658&r=dst
IIS Stability:               http://bugs.php.net/fix.php?id=34658&r=isapi
Install GNU Sed:             http://bugs.php.net/fix.php?id=34658&r=gnused
Floating point limitations:  http://bugs.php.net/fix.php?id=34658&r=float
No Zend Extensions:          http://bugs.php.net/fix.php?id=34658&r=nozend
MySQL Configuration Error:   http://bugs.php.net/fix.php?id=34658&r=mysqlcfg

Reply via email to