Lines Matching refs:setcookie
2 setcookie() array variant error tests
12 setcookie('name', 'value', ['unknown_key' => 'only']);
18 setcookie('name2', 'value2', [0 => 'numeric_key']);
24 setcookie('name3', 'value3', ['path' => '/path/', 'foo' => 'bar']);
30 setcookie('name', 'value', ['path' => '/;/']);
36 setcookie('name', 'value', ['path' => '/path/', 'domain' => 'ba;r']);
43 setcookie('name4', 'value4', [], "path", "domain.tld", true, true);
51 setcookie('name', 'value', ['expires' => 315328464000]);
53 …var_dump($e->getMessage() == 'setcookie(): "expires" option cannot have a year greater than 9999');
64 setcookie(): option "unknown_key" is invalid
65 setcookie(): option array cannot have numeric keys
66 setcookie(): option "foo" is invalid
67 setcookie(): "path" option cannot contain ",", ";", " ", "\t", "\r", "\n", "\013", or "\014"
68 setcookie(): "domain" option cannot contain ",", ";", " ", "\t", "\r", "\n", "\013", or "\014"
69 setcookie(): Expects exactly 3 arguments when argument #3 ($expires_or_options) is an array