public function IpValidatorTest::getInvalidIpsV6 in Plug 7
2 calls to IpValidatorTest::getInvalidIpsV6()
- IpValidatorTest::getInvalidIpsAll in lib/
Symfony/ validator/ Symfony/ Component/ Validator/ Tests/ Constraints/ IpValidatorTest.php - IpValidatorTest::getInvalidReservedIpsV6 in lib/
Symfony/ validator/ Symfony/ Component/ Validator/ Tests/ Constraints/ IpValidatorTest.php
File
- lib/
Symfony/ validator/ Symfony/ Component/ Validator/ Tests/ Constraints/ IpValidatorTest.php, line 265
Class
Namespace
Symfony\Component\Validator\Tests\ConstraintsCode
public function getInvalidIpsV6() {
return array(
array(
'z001:0db8:85a3:0000:0000:8a2e:0370:7334',
),
array(
'fe80',
),
array(
'fe80:8329',
),
array(
'fe80:::202:b3ff:fe1e:8329',
),
array(
'fe80::202:b3ff::fe1e:8329',
),
// IPv4 mapped to IPv6
array(
'2001:0db8:85a3:0000:0000:8a2e:0370:0.0.0.0',
),
array(
'::0.0',
),
array(
'::0.0.0',
),
array(
'::256.0.0.0',
),
array(
'::0.256.0.0',
),
array(
'::0.0.256.0',
),
array(
'::0.0.0.256',
),
);
}