ID: 46901
Updated by: [email protected]
Reported By: pedro at boxwg dot info
-Status: Open
+Status: Bogus
Bug Type: PHP options/info functions
Operating System: Linux
PHP Version: 5.2.8
New Comment:
Expected behaviour. To make it portable:
# php -r 'echo printf("%u", ip2long("161.51.11.2"));
270447693010
Previous Comments:
------------------------------------------------------------------------
[2008-12-18 14:20:38] pedro at boxwg dot info
Description:
------------
Just bumped into a somehow weird bug, reported a couple years ago and
it just popped up once again
$ip = "161.51.11.2";
echo(ip2long($ip));
returns -1590490366
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=46901&edit=1