You are here

public function IpValidatorTest::getValidIpsV4 in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/validator/Tests/Constraints/IpValidatorTest.php \Symfony\Component\Validator\Tests\Constraints\IpValidatorTest::getValidIpsV4()
1 call to IpValidatorTest::getValidIpsV4()
IpValidatorTest::getValidIpsAll in vendor/symfony/validator/Tests/Constraints/IpValidatorTest.php

File

vendor/symfony/validator/Tests/Constraints/IpValidatorTest.php, line 74

Class

IpValidatorTest

Namespace

Symfony\Component\Validator\Tests\Constraints

Code

public function getValidIpsV4() {
  return array(
    array(
      '0.0.0.0',
    ),
    array(
      '10.0.0.0',
    ),
    array(
      '123.45.67.178',
    ),
    array(
      '172.16.0.0',
    ),
    array(
      '192.168.1.0',
    ),
    array(
      '224.0.0.1',
    ),
    array(
      '255.255.255.255',
    ),
    array(
      '127.0.0.0',
    ),
  );
}