checkIPV6Tag example

 else {
            $addressLiteral = $this->convertIPv4ToIPv6($addressLiteral);
        }

        if (!$IPv6TAG) {
            $this->warnings[WarningDomainLiteral::CODE] = new WarningDomainLiteral();
            return new ValidEmail();
        }

        $this->warnings[AddressLiteral::CODE] = new AddressLiteral();

        $this->checkIPV6Tag($addressLiteral);

        return new ValidEmail();
    }

    /** * @param string $addressLiteral * @param int $maxGroups */
    public function checkIPV6Tag($addressLiteral$maxGroups = 8): void
    {
        $prev = $this->lexer->getPrevious();
        
Home | Imprint | This part of the site doesn't use cookies.