From:             rosiefitzpatrick at grouplogic dot com
Operating system: Mac OS 10.5.5
PHP version:      5.2.6
PHP Bug Type:     Unknown/Other Function
Bug description:  ext/soap does not convert unsigned longs with values 
>2147483647 to floats

Description:
------------
On a 32-bit Leopard system (Intel Core Duo), when my SOAP server returns
an unsigned long whose value is greater than 2147483647, the SoapClient
interprets this value as an integer with value 2147483647.  On a 64-bit
Leopard system (Intel Core 2 Duo), the SoapClient interprets the value as
an integer with the correct value (whatever was in the XML from the
server).
On a 32-bit Tiger (Mac OS X 10.4) system running PHP 5.2.0, it comes back
from the SoapClient class as a float with the correct integer value that
was sent from the server. 


Expected result:
----------------
According to the PHP docs (and the behavior of ext/soap in 5.2.0), an
integer with greater than maximum value is converted to a float.

Actual result:
--------------
Instead of converting the unsigned long to a float and retaining the
value, it remains an integer with PHP_INT_MAX value.

-- 
Edit bug report at http://bugs.php.net/?id=46483&edit=1
-- 
Try a CVS snapshot (PHP 5.2):        
http://bugs.php.net/fix.php?id=46483&r=trysnapshot52
Try a CVS snapshot (PHP 5.3):        
http://bugs.php.net/fix.php?id=46483&r=trysnapshot53
Try a CVS snapshot (PHP 6.0):        
http://bugs.php.net/fix.php?id=46483&r=trysnapshot60
Fixed in CVS:                        
http://bugs.php.net/fix.php?id=46483&r=fixedcvs
Fixed in CVS and need be documented: 
http://bugs.php.net/fix.php?id=46483&r=needdocs
Fixed in release:                    
http://bugs.php.net/fix.php?id=46483&r=alreadyfixed
Need backtrace:                      
http://bugs.php.net/fix.php?id=46483&r=needtrace
Need Reproduce Script:               
http://bugs.php.net/fix.php?id=46483&r=needscript
Try newer version:                   
http://bugs.php.net/fix.php?id=46483&r=oldversion
Not developer issue:                 
http://bugs.php.net/fix.php?id=46483&r=support
Expected behavior:                   
http://bugs.php.net/fix.php?id=46483&r=notwrong
Not enough info:                     
http://bugs.php.net/fix.php?id=46483&r=notenoughinfo
Submitted twice:                     
http://bugs.php.net/fix.php?id=46483&r=submittedtwice
register_globals:                    
http://bugs.php.net/fix.php?id=46483&r=globals
PHP 4 support discontinued:          http://bugs.php.net/fix.php?id=46483&r=php4
Daylight Savings:                    http://bugs.php.net/fix.php?id=46483&r=dst
IIS Stability:                       
http://bugs.php.net/fix.php?id=46483&r=isapi
Install GNU Sed:                     
http://bugs.php.net/fix.php?id=46483&r=gnused
Floating point limitations:          
http://bugs.php.net/fix.php?id=46483&r=float
No Zend Extensions:                  
http://bugs.php.net/fix.php?id=46483&r=nozend
MySQL Configuration Error:           
http://bugs.php.net/fix.php?id=46483&r=mysqlcfg

Reply via email to