protected function DomainPart::checkLabelLength in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/egulias/email-validator/src/Egulias/EmailValidator/Parser/DomainPart.php \Egulias\EmailValidator\Parser\DomainPart::checkLabelLength()
1 call to DomainPart::checkLabelLength()
- DomainPart::doParseDomainPart in vendor/
egulias/ email-validator/ src/ Egulias/ EmailValidator/ Parser/ DomainPart.php
File
- vendor/
egulias/ email-validator/ src/ Egulias/ EmailValidator/ Parser/ DomainPart.php, line 294
Class
Namespace
Egulias\EmailValidator\ParserCode
protected function checkLabelLength($prev) {
if ($this->lexer->token['type'] === EmailLexer::S_DOT && $prev['type'] === EmailLexer::GENERIC && strlen($prev['value']) > 63) {
$this->warnings[] = EmailValidator::RFC5322_LABEL_TOOLONG;
}
}