public function EmailValidatorTest::getValidEmails in Zircon Profile 8.0
Same name in this branch
- 8.0 vendor/symfony/validator/Tests/Constraints/EmailValidatorTest.php \Symfony\Component\Validator\Tests\Constraints\EmailValidatorTest::getValidEmails()
- 8.0 vendor/egulias/email-validator/tests/egulias/Tests/EmailValidator/EmailValidatorTest.php \Egulias\Tests\EmailValidator\EmailValidatorTest::getValidEmails()
Same name and namespace in other branches
- 8 vendor/egulias/email-validator/tests/egulias/Tests/EmailValidator/EmailValidatorTest.php \Egulias\Tests\EmailValidator\EmailValidatorTest::getValidEmails()
File
- vendor/
egulias/ email-validator/ tests/ egulias/ Tests/ EmailValidator/ EmailValidatorTest.php, line 37
Class
Namespace
Egulias\Tests\EmailValidatorCode
public function getValidEmails() {
return array(
array(
'â@iana.org',
),
array(
'fabien@symfony.com',
),
array(
'example@example.co.uk',
),
array(
'fabien_potencier@example.fr',
),
array(
'example@localhost',
),
array(
'fab\'ien@symfony.com',
),
array(
'fab\\ ien@symfony.com',
),
array(
'example((example))@fakedfake.co.uk',
),
array(
'example@faked(fake).co.uk',
),
array(
'fabien+@symfony.com',
),
array(
'инфо@письмо.рф',
),
array(
'"username"@example.com',
),
array(
'"user,name"@example.com',
),
array(
'"user name"@example.com',
),
array(
'"user@name"@example.com',
),
array(
'"\\a"@iana.org',
),
array(
'"test\\ test"@iana.org',
),
array(
'""@iana.org',
),
array(
'"\\""@iana.org',
),
array(
'müller@möller.de',
),
array(
'test@email*',
),
array(
'test@email!',
),
array(
'test@email&',
),
array(
'test@email^',
),
array(
'test@email%',
),
array(
'test@email$',
),
);
}