PHP 4.0 Bug #7248 Updated: ip2long returns negative values
| From: | stas@php.net | Date: | Mon, 23 Oct 2000 08:52:46 +0000 |
| Subject: | PHP 4.0 Bug #7248 Updated: ip2long returns negative values | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-35847@lists.php.net to get a copy of this message | ||
ID: 7248
Updated by: stas
Reported By: spambox@yourc.pl
Status: Closed
Bug Type: Network related
Assigned To:
Comments:
It is meant to do so, PHP long values are signed.
Previous Comments:
---------------------------------------------------------------------------
[2000-10-16 11:20:12] spambox@yourc.pl
Do a
ip2long('195.117.249.162');
and it returns
-1015678558
---------------------------------------------------------------------------
Full Bug description available at: http://bugs.php.net/?id=7248