I have seen a couple different ways to check if a PHP variable is an ipv4 or v6. But I have not found a way that checks for the different types of IPV6. So if the V6 IP is not entered in one certain format it will not be flagged as an IPV6.
I need something to check for IPV4 VS IPV6 while also checking the different types of IPV6