--TEST-- ip2long() & long2ip() tests --SKIPIF-- 32bit platform only"); ?> --FILE-- --EXPECTF-- int(2130706433) string(9) "127.0.0.1" int(167772161) string(8) "10.0.0.1" int(4294967295) string(15) "255.255.255.255" int(4294967040) string(13) "255.255.255.0" int(0) string(7) "0.0.0.0" int(1118019956) string(14) "66.163.161.116" Warning: ip2long() expects exactly 1 parameter, 0 given in %sip_x86_64.php on line %d NULL bool(false) bool(false) int(1869573999) Warning: ip2long() expects parameter 1 to be string, array given in %sip_x86_64.php on line %d NULL Warning: long2ip() expects exactly 1 parameter, 0 given in %sip_x86_64.php on line %d NULL string(13) "255.254.82.80" Warning: long2ip() expects parameter 1 to be integer, string given in %sip_x86_64.php on line %d NULL Warning: long2ip() expects parameter 1 to be integer, array given in %sip_x86_64.php on line %d NULL Done