Home
last modified time | relevance | path

Searched refs:session_set_cookie_params (Results 1 – 12 of 12) sorted by relevance

/PHP-8.1/ext/session/tests/
H A Dsession_set_cookie_params_variation7.phpt2 Test session_set_cookie_params() function : array parameter variation
19 echo "*** Testing session_set_cookie_params() : array parameter variation ***\n";
23 session_set_cookie_params([]);
29 session_set_cookie_params(["unknown_key" => true, "secure_invalid" => true]);
36 var_dump(session_set_cookie_params(["secure" => true, "samesite" => "please"]));
41 var_dump(session_set_cookie_params(["lifetime" => 42]));
47 session_set_cookie_params(["path" => "newpath/"], "arg after options array");
58 *** Testing session_set_cookie_params() : array parameter variation ***
59 session_set_cookie_params(): Argument #1 ($lifetime_or_options) must contain at least 1 valid key
64 session_set_cookie_params(): Argument #1 ($lifetime_or_options) must contain at least 1 valid key
[all …]
H A Dsession_set_cookie_params_basic.phpt2 Test session_set_cookie_params() function : basic functionality
12 echo "*** Testing session_set_cookie_params() : basic functionality ***\n";
14 var_dump(session_set_cookie_params(3600));
16 var_dump(session_set_cookie_params(1800));
18 var_dump(session_set_cookie_params(1234567890));
24 *** Testing session_set_cookie_params() : basic functionality ***
28 Warning: session_set_cookie_params(): Session cookie parameters cannot be changed when a session is…
H A Dsession_set_cookie_params_variation1.phpt2 Test session_set_cookie_params() function : variation
14 echo "*** Testing session_set_cookie_params() : variation ***\n";
17 var_dump(session_set_cookie_params(3600));
22 var_dump(session_set_cookie_params(1800));
27 var_dump(session_set_cookie_params(1234567890));
34 *** Testing session_set_cookie_params() : variation ***
41 Warning: session_set_cookie_params(): Session cookie parameters cannot be changed when a session is…
H A Dsession_set_cookie_params_variation2.phpt2 Test session_set_cookie_params() function : variation
14 echo "*** Testing session_set_cookie_params() : variation ***\n";
17 var_dump(session_set_cookie_params(3600, "/foo"));
21 var_dump(session_set_cookie_params(3600, "/blah"));
25 var_dump(session_set_cookie_params(3600, "/guff"));
32 *** Testing session_set_cookie_params() : variation ***
39 Warning: session_set_cookie_params(): Session cookie parameters cannot be changed when a session is…
H A Dsession_set_cookie_params_variation4.phpt2 Test session_set_cookie_params() function : variation
14 echo "*** Testing session_set_cookie_params() : variation ***\n";
17 var_dump(session_set_cookie_params(3600, "/path", "blah", FALSE));
21 var_dump(session_set_cookie_params(3600, "/path", "blah", TRUE));
25 var_dump(session_set_cookie_params(3600, "/path", "blah", FALSE));
32 *** Testing session_set_cookie_params() : variation ***
39 Warning: session_set_cookie_params(): Session cookie parameters cannot be changed when a session is…
H A Dsession_set_cookie_params_variation3.phpt2 Test session_set_cookie_params() function : variation
14 echo "*** Testing session_set_cookie_params() : variation ***\n";
17 var_dump(session_set_cookie_params(3600, "/path", "blah"));
21 var_dump(session_set_cookie_params(3600, "/path", "guff"));
25 var_dump(session_set_cookie_params(3600, "/path", "foo"));
32 *** Testing session_set_cookie_params() : variation ***
39 Warning: session_set_cookie_params(): Session cookie parameters cannot be changed when a session is…
H A Dsession_set_cookie_params_variation5.phpt2 Test session_set_cookie_params() function : variation
14 echo "*** Testing session_set_cookie_params() : variation ***\n";
17 var_dump(session_set_cookie_params(3600, "/path", "blah", FALSE, FALSE));
21 var_dump(session_set_cookie_params(3600, "/path", "blah", FALSE, TRUE));
25 var_dump(session_set_cookie_params(3600, "/path", "blah", FALSE, FALSE));
32 *** Testing session_set_cookie_params() : variation ***
39 Warning: session_set_cookie_params(): Session cookie parameters cannot be changed when a session is…
H A Dsession_set_cookie_params_variation6.phpt2 Test session_set_cookie_params() function : variation
14 echo "*** Testing session_set_cookie_params() : variation ***\n";
17 var_dump(session_set_cookie_params(["samesite" => "nothing"]));
21 var_dump(session_set_cookie_params(["samesite" => "test"]));
25 var_dump(session_set_cookie_params(["samesite" => "other"]));
32 *** Testing session_set_cookie_params() : variation ***
39 Warning: session_set_cookie_params(): Session cookie parameters cannot be changed when a session is…
H A Dsession_get_cookie_params_basic.phpt22 var_dump(session_set_cookie_params(3600, "/path", "blah", FALSE, FALSE));
24 var_dump(session_set_cookie_params(1234567890, "/guff", "foo", TRUE, TRUE));
26 var_dump(session_set_cookie_params([
/PHP-8.1/ext/session/
H A Dsession.stub.php72 function session_set_cookie_params(array|int $lifetime_or_options, ?string $path = null, ?string $d… function
H A Dsession_arginfo.h159 ZEND_FUNCTION(session_set_cookie_params);
192 ZEND_FE(session_set_cookie_params, arginfo_session_set_cookie_params)
H A Dsession.c1662 PHP_FUNCTION(session_set_cookie_params) in PHP_FUNCTION() argument

Completed in 17 milliseconds