php-developer-list | 2000111
Date: 11/14/00
- Next message: msari <email protected>: "[PHP-DEV] PHP 4.0 Bug #7813: Authentication"
- Previous message: stas <email protected>: "[PHP-DEV] PHP 4.0 Bug #7755 Updated: bitwise and misbehaving with & 0xffffff00"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
ID: 7039
Updated by: stas
Reported By: jpm <email protected>
Status: Closed
Bug Type: *Network Functions
Assigned To:
Comments:
Fixed in CVS.
Previous Comments:
---------------------------------------------------------------------------
[2000-10-05 08:04:34] jpm <email protected>
This is the simple script I'm trying to use:
<?php
$ip = "255.255.255.255";
echo ip2long($ip);
?>
That will echo "-1708283823", or some weird number like that, when it should be echoing "4294967295". It also does not work when I try to get the standard IP Address from "4294967295" using long2ip(), it gives some weird number.
Joao Prado Maia
---------------------------------------------------------------------------
Full Bug description available at: http://bugs.php.net/?id=7039
-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: msari <email protected>: "[PHP-DEV] PHP 4.0 Bug #7813: Authentication"
- Previous message: stas <email protected>: "[PHP-DEV] PHP 4.0 Bug #7755 Updated: bitwise and misbehaving with & 0xffffff00"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

