public static function parseIPv6($input)
    {
        return filter_var($input, FILTER_VALIDATE_IP, FILTER_FLAG_IPV6)
            ? array_values(unpack('n*', inet_pton($input)))
            : false;
    }
public static function parseIPv6($input)
    {
        return filter_var($input, FILTER_VALIDATE_IP, FILTER_FLAG_IPV6)
            ? array_values(unpack('n*', inet_pton($input)))
            : false;
    }
public static function parseIPv6 ( $ input ) { return filter_var ( $ input , FILTER_VALIDATE_IP , FILTER_FLAG_IPV6 ) ? array_values ( unpack ( 'n*' , inet_pton ( $ input ) ) ) : false ; }
The IPv6 parser.
@link https://url.spec.whatwg.org/#concept-ipv6-parser URL Standard
@param string $input A UTF-8 string.
@return int[] An array of a 16-bit unsigned integer.
The IPv6 parser .