public function IpValidatorTest::getInvalidIpsV4 in Plug 7
1 call to IpValidatorTest::getInvalidIpsV4()
- IpValidatorTest::getInvalidIpsAll in lib/
Symfony/ validator/ Symfony/ Component/ Validator/ Tests/ Constraints/ IpValidatorTest.php
File
- lib/
Symfony/ validator/ Symfony/ Component/ Validator/ Tests/ Constraints/ IpValidatorTest.php, line 159
Class
Namespace
Symfony\Component\Validator\Tests\ConstraintsCode
public function getInvalidIpsV4() {
return array(
array(
'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',
),
array(
'-1.0.0.0',
),
array(
'foobar',
),
);
}