note 45530 deleted from function.ip2long by tomsommer

From: Date: Thu, 09 Sep 2004 21:35:26 +0000
Subject: note 45530 deleted from function.ip2long by tomsommer
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-76359@lists.php.net to get a copy of this message
Note Submitter: matt ---- ip2long("255.255.255.255") in php5 evaluates to false instead of -1 as ip2long did in php4. If you have legacy code from php4 that needs to be ported to php5 and it uses ip2long("255.255.255.255"), replace it with -1 and it will work again. Some function on this page and the PEAR Net_IPv4 class can be made to work under php5 by making this change.

« previous php.notes (#76359) next »