public function LengthValidatorTest::getOneCharset in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/validator/Tests/Constraints/LengthValidatorTest.php \Symfony\Component\Validator\Tests\Constraints\LengthValidatorTest::getOneCharset()
File
- vendor/
symfony/ validator/ Tests/ Constraints/ LengthValidatorTest.php, line 90
Class
Namespace
Symfony\Component\Validator\Tests\ConstraintsCode
public function getOneCharset() {
if (!function_exists('iconv') && !function_exists('mb_convert_encoding')) {
$this
->markTestSkipped('Mbstring or iconv is required for this test.');
}
return array(
array(
'é',
'utf8',
true,
),
array(
"",
'CP1252',
true,
),
array(
"",
'XXX',
false,
),
array(
"",
'utf8',
false,
),
);
}