You are here

public function RequestTest::getLongHostNames in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/http-foundation/Tests/RequestTest.php \Symfony\Component\HttpFoundation\Tests\RequestTest::getLongHostNames()

File

vendor/symfony/http-foundation/Tests/RequestTest.php, line 1867

Class

RequestTest

Namespace

Symfony\Component\HttpFoundation\Tests

Code

public function getLongHostNames() {
  return array(
    array(
      'a' . str_repeat('.a', 40000),
    ),
    array(
      str_repeat(':', 101),
    ),
  );
}