public function CookieTest::invalidNames

File

drupal/core/vendor/symfony/http-foundation/Symfony/Component/HttpFoundation/Tests/CookieTest.php, line 24

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",
    ),
  );
}