Edit report at https://bugs.php.net/bug.php?id=63645&edit=1

 ID:                 63645
 Updated by:         larue...@php.net
 Reported by:        nikita dot arykov at gmail dot com
 Summary:            Wrong calculate ip2long
-Status:             Open
+Status:             Not a bug
 Type:               Bug
 Package:            *General Issues
 Operating System:   Windows 7
 PHP Version:        5.3.19
 Block user comment: N
 Private report:     N

 New Comment:

Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to report
a bug at http://bugs.php.net/how-to-report.php

it's a long , on 32 bites system, present out as a negative number


Previous Comments:
------------------------------------------------------------------------
[2012-11-29 07:52:25] nikita dot arykov at gmail dot com

Description:
------------
echo ip2long('192.2.0.16'), PHP_EOL;

Expected result:
----------------
3221356560

Actual result:
--------------
-1073610736


------------------------------------------------------------------------



-- 
Edit this bug report at https://bugs.php.net/bug.php?id=63645&edit=1

Reply via email to