You are here

public function IpValidatorTest::getInvalidPrivateIpsV4 in Plug 7

2 calls to IpValidatorTest::getInvalidPrivateIpsV4()
IpValidatorTest::getInvalidPrivateIpsAll in lib/Symfony/validator/Symfony/Component/Validator/Tests/Constraints/IpValidatorTest.php
IpValidatorTest::getInvalidPublicIpsV4 in lib/Symfony/validator/Symfony/Component/Validator/Tests/Constraints/IpValidatorTest.php

File

lib/Symfony/validator/Symfony/Component/Validator/Tests/Constraints/IpValidatorTest.php, line 191

Class

IpValidatorTest

Namespace

Symfony\Component\Validator\Tests\Constraints

Code

public function getInvalidPrivateIpsV4() {
  return array(
    array(
      '10.0.0.0',
    ),
    array(
      '172.16.0.0',
    ),
    array(
      '192.168.1.0',
    ),
  );
}