--TEST-- filter_var() and FILTER_VALIDATE_IP --EXTENSIONS-- filter --FILE-- --EXPECT-- string(11) "192.168.0.1" bool(false) string(3) "::1" string(7) "fe00::0" bool(false) bool(false) string(9) "127.0.0.1" bool(false) string(12) "192.0.34.166" bool(false) string(9) "192.0.0.1" string(10) "100.64.0.0" string(15) "100.127.255.255" string(12) "192.0.34.166" bool(false) string(15) "255.255.255.255" bool(false) bool(false) bool(false) bool(false) bool(false) string(3) "::1" bool(false) string(9) "127.0.0.1" Done