src/Validator/Specific/EmailAddress.php
private function deepMxCheck(array $value = []): bool
    {
        $isValid = false;
        foreach ($value as $host => $weight) {
            $res = $this->isReserved($host);
            if (!$res && (\checkdnsrr($host, 'A') || \checkdnsrr($host, 'AAAA') || \checkdnsrr($host, 'A6'))) {
                $isValid = true;
                break;
            }
        }
        return $isValid;
    }
private function deepMxCheck(array $value = []): bool
    {
        $isValid = false;
        foreach ($value as $host => $weight) {
            $res = $this->isReserved($host);
            if (!$res && (\checkdnsrr($host, 'A') || \checkdnsrr($host, 'AAAA') || \checkdnsrr($host, 'A6'))) {
                $isValid = true;
                break;
            }
        }
        return $isValid;
    }
private function deepMxCheck ( array $ value = [ ] ) : bool { $ isValid = false ; foreach ( $ value as $ host => $ weight ) { $ res = $ this -> isReserved ( $ host ) ; if ( ! $ res && ( \ checkdnsrr ( $ host , 'A' ) || \ checkdnsrr ( $ host , 'AAAA' ) || \ checkdnsrr ( $ host , 'A6' ) ) ) { $ isValid = true ; break ; } } return $ isValid ; }
Performs deep MX check

@param array $value
@return bool
Performs deep MX check