TLDExtract
TLDExtract copied to clipboard
"@" symbol should not be allowed in domain name
$extract = new Extract();
$result = $extract->parse("test@[email protected]")->isValidDomain();
This results in true
, when it should be false
("@" is not allowed in domain names)