From:             flobee at gmail dot com
Operating system: SunOS
PHP version:      5.2.9RC1
PHP Bug Type:     *Network Functions
Bug description:  ip2long: 32bis vs. 64bit!

Description:
------------
ip2long seems to be buggy on 64 Bit Solaris:
Tested with: php5.2.2, php5.2.8



Reproduce code:
---------------
64bit Solaris
#php -r "echo 'x:' . ip2long('web.de') .\"\n\";"
// x:4294967295

32bit Solaris
#php -r "echo 'x:' . ip2long('web.de') .\"\n\";"
// x:false



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

Reply via email to