Searched refs:setcookie (Results 1 – 10 of 10) sorted by relevance
/PHP-8.1/ext/standard/tests/network/ |
H A D | setcookie_array_option_error.phpt | 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]); 63 setcookie(): option "unknown_key" is invalid 64 setcookie(): option array cannot have numeric keys [all …]
|
H A D | setcookie_error.phpt | 2 setcookie() error tests 11 setcookie(''); 16 setcookie('invalid='); 21 setcookie('name', 'invalid;'); 26 setcookie('name', 'value', 100, 'invalid;'); 31 setcookie('name', 'value', 100, 'path', 'invalid;'); 39 setcookie('name', 'value', 315328464000); 53 setcookie(): Argument #1 ($name) cannot be empty 54 setcookie(): Argument #1 ($name) cannot contain "=", ",", ";", " ", "\t", "\r", "\n", "\013", or "\… 55 setcookie(): "path" option cannot contain ",", ";", " ", "\t", "\r", "\n", "\013", or "\014" [all …]
|
H A D | setcookie.phpt | 2 setcookie() tests 7 setcookie('name'); 8 setcookie('name', ''); 9 setcookie('name', 'value'); 10 setcookie('name', 'space value'); 11 setcookie('name', 'value', 0); 12 setcookie('name', 'value', $tsp = time() + 5); 13 setcookie('name', 'value', $tsn = time() - 6); 14 setcookie('name', 'value', $tsc = time()); 15 setcookie('name', 'value', 0, '/path/'); [all …]
|
H A D | bug69948.phpt | 2 Bug #69948 (path/domain are not sanitized for special characters in setcookie) 6 var_dump(setcookie('foo', 'bar', 0, 'asdf;asdf')); 11 var_dump(setcookie('foo', 'bar', 0, '/', 'foobar; secure')); 20 setcookie(): "path" option cannot contain ",", ";", " ", "\t", "\r", "\n", "\013", or "\014" 21 setcookie(): "domain" option cannot contain ",", ";", " ", "\t", "\r", "\n", "\013", or "\014"
|
H A D | bug69523.phpt | 2 setcookie() allows empty cookie name 6 setcookie('', 'foo'); 12 setcookie(): Argument #1 ($name) cannot be empty
|
H A D | bug76755.phpt | 2 Bug #76755 (setcookie does not accept "double" type for expire time) 5 var_dump(setcookie('name', 'value', (float)(time() + 1296000)));
|
H A D | bug72071.phpt | 2 Bug #72071 setcookie allows max-age to be negative 9 setcookie("name", "value", $date);
|
/PHP-8.1/ext/standard/ |
H A D | head.c | 280 PHP_FUNCTION(setcookie) in PHP_FUNCTION() argument
|
H A D | basic_functions.stub.php | 667 function setcookie(string $name, string $value = "", array|int $expires_or_options = 0, string $pat… function
|
H A D | basic_functions_arginfo.h | 2445 ZEND_FUNCTION(setcookie); 3082 ZEND_FE(setcookie, arginfo_setcookie)
|
Completed in 33 milliseconds