You are here

public function CookieTest::invalidNames in Zircon Profile 8.0

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

File

vendor/symfony/http-foundation/Tests/CookieTest.php, line 36

Class

CookieTest
CookieTest.

Namespace

Symfony\Component\HttpFoundation\Tests

Code

public function invalidNames() {
  return array(
    array(
      '',
    ),
    array(
      ',MyName',
    ),
    array(
      ';MyName',
    ),
    array(
      ' MyName',
    ),
    array(
      "\tMyName",
    ),
    array(
      "\rMyName",
    ),
    array(
      "\nMyName",
    ),
    array(
      "\vMyName",
    ),
    array(
      "\fMyName",
    ),
  );
}