|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2003-09-20 07:00 UTC] wez@php.net
[2003-09-20 10:47 UTC] iliaa@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Tue Oct 28 02:00:01 2025 UTC |
Description: ------------ Should ip address '62.234.229.040' differ from '62.234.229.40' ? I think not. Please check it out! Reproduce code: --------------- <?php printf("%u\n", ip2long('62.234.229.040')); // 1055581472 print long2ip('1055581472')."\n"; // 62.234.229.32 printf("%u\n", ip2long('62.234.229.40')); // 1055581480 ?> Expected result: ---------------- 1055581480 62.234.229.32 1055581480 Actual result: -------------- 1055581472 62.234.229.32 1055581480