Home
last modified time | relevance | path

Searched refs:setcookie (Results 1 – 11 of 11) sorted by relevance

/PHP-7.3/ext/standard/tests/network/
H A Dsetcookie_error.phpt2 setcookie() array variant error tests
11 setcookie('name', 'value', ['unknown_key' => 'only']);
13 setcookie('name2', 'value2', [0 => 'numeric_key']);
15 setcookie('name3', 'value3', ['path' => '/path/', 'foo' => 'bar']);
17 setcookie('name4', 'value4', [], "path", "domain.tld", true, true);
23 Warning: setcookie(): Unrecognized key 'unknown_key' found in the options array in %s
25 Warning: setcookie(): No valid options were found in the given array in %s
27 Warning: setcookie(): Numeric key found in the options array in %s
29 Warning: setcookie(): No valid options were found in the given array in %s
31 Warning: setcookie(): Unrecognized key 'foo' found in the options array in %s
[all …]
H A Dsetcookie.phpt2 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 Dbug69948.phpt2 Bug #69948 (path/domain are not sanitized for special characters in setcookie)
6 setcookie('foo', 'bar', 0, 'asdf;asdf'),
7 setcookie('foo', 'bar', 0, '/', 'foobar; secure')
H A Dbug76755.phpt2 Bug #76755 (setcookie does not accept "double" type for expire time)
5 var_dump(setcookie('name', 'value', (real)(time() + 1296000)));
H A Dbug69523.phpt2 setcookie() allows empty cookie name
5 setcookie('', 'foo');
H A Dbug72071.phpt2 Bug #72071 setcookie allows max-age to be negative
9 setcookie("name", "value", $date);
/PHP-7.3/ext/standard/
H A Dhead.h33 PHP_FUNCTION(setcookie);
H A Dhead.c235 PHP_FUNCTION(setcookie) in PHP_FUNCTION() argument
H A Dbasic_functions.c3057 PHP_FE(setcookie, arginfo_setcookie)
/PHP-7.3/
H A DNEWS1188 . Fixed bug #77612 (setcookie() sets incorrect SameSite header if all of its
1692 signature for setcookie(), setrawcookie() and session_set_cookie_params().
1702 . Fixed bug #69948 (path/domain are not sanitized in setcookie). (cmb)
1713 . Fixed bug #76755 (setcookie does not accept "double" type for expire time).
H A DUPGRADING383 . setcookie() and setrawcookie() now also support the following signature:

Completed in 32 milliseconds