ID: 41995 Updated by: [EMAIL PROTECTED] Reported By: pigmey_avi at gorodok dot net -Status: Open +Status: Feedback Bug Type: Network related PHP Version: 4.4.7 New Comment:
Please try using this CVS snapshot: http://snaps.php.net/php5.2-latest.tar.gz For Windows (zip): http://snaps.php.net/win32/php5.2-win32-latest.zip For Windows (installer): http://snaps.php.net/win32/php5.2-win32-installer-latest.msi Previous Comments: ------------------------------------------------------------------------ [2007-07-14 07:59:02] pigmey_avi at gorodok dot net Description: ------------ When ip2long() encountered triplet that can be represent as octal number, the function represent it as octal. For instance, when ip is '10.0.0.011', the last triplet will be readed as 9, becouse 11 in 8 base is 9. So, sometimes, ip2long() returns wrong value. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=41995&edit=1