Searched refs:session_set_cookie_params (Results 1 – 12 of 12) sorted by relevance
/PHP-8.0/ext/session/tests/ |
H A D | session_set_cookie_params_variation7.phpt | 2 Test session_set_cookie_params() function : array parameter variation 17 echo "*** Testing session_set_cookie_params() : array parameter variation ***\n"; 21 session_set_cookie_params([]); 27 session_set_cookie_params(["unknown_key" => true, "secure_invalid" => true]); 34 var_dump(session_set_cookie_params(["secure" => true, "samesite" => "please"])); 39 var_dump(session_set_cookie_params(["lifetime" => 42])); 45 session_set_cookie_params(["path" => "newpath/"], "arg after options array"); 56 *** Testing session_set_cookie_params() : array parameter variation *** 57 session_set_cookie_params(): Argument #1 ($lifetime_or_options) must contain at least 1 valid key 62 session_set_cookie_params(): Argument #1 ($lifetime_or_options) must contain at least 1 valid key [all …]
|
H A D | session_set_cookie_params_basic.phpt | 2 Test session_set_cookie_params() function : basic functionality 10 echo "*** Testing session_set_cookie_params() : basic functionality ***\n"; 12 var_dump(session_set_cookie_params(3600)); 14 var_dump(session_set_cookie_params(1800)); 16 var_dump(session_set_cookie_params(1234567890)); 22 *** Testing session_set_cookie_params() : basic functionality *** 26 Warning: session_set_cookie_params(): Session cookie parameters cannot be changed when a session is…
|
H A D | session_set_cookie_params_variation1.phpt | 2 Test session_set_cookie_params() function : variation 12 echo "*** Testing session_set_cookie_params() : variation ***\n"; 15 var_dump(session_set_cookie_params(3600)); 20 var_dump(session_set_cookie_params(1800)); 25 var_dump(session_set_cookie_params(1234567890)); 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 D | session_set_cookie_params_variation2.phpt | 2 Test session_set_cookie_params() function : variation 12 echo "*** Testing session_set_cookie_params() : variation ***\n"; 15 var_dump(session_set_cookie_params(3600, "/foo")); 19 var_dump(session_set_cookie_params(3600, "/blah")); 23 var_dump(session_set_cookie_params(3600, "/guff")); 30 *** Testing session_set_cookie_params() : variation *** 37 Warning: session_set_cookie_params(): Session cookie parameters cannot be changed when a session is…
|
H A D | session_set_cookie_params_variation3.phpt | 2 Test session_set_cookie_params() function : variation 12 echo "*** Testing session_set_cookie_params() : variation ***\n"; 15 var_dump(session_set_cookie_params(3600, "/path", "blah")); 19 var_dump(session_set_cookie_params(3600, "/path", "guff")); 23 var_dump(session_set_cookie_params(3600, "/path", "foo")); 30 *** Testing session_set_cookie_params() : variation *** 37 Warning: session_set_cookie_params(): Session cookie parameters cannot be changed when a session is…
|
H A D | session_set_cookie_params_variation4.phpt | 2 Test session_set_cookie_params() function : variation 12 echo "*** Testing session_set_cookie_params() : variation ***\n"; 15 var_dump(session_set_cookie_params(3600, "/path", "blah", FALSE)); 19 var_dump(session_set_cookie_params(3600, "/path", "blah", TRUE)); 23 var_dump(session_set_cookie_params(3600, "/path", "blah", FALSE)); 30 *** Testing session_set_cookie_params() : variation *** 37 Warning: session_set_cookie_params(): Session cookie parameters cannot be changed when a session is…
|
H A D | session_set_cookie_params_variation5.phpt | 2 Test session_set_cookie_params() function : variation 12 echo "*** Testing session_set_cookie_params() : variation ***\n"; 15 var_dump(session_set_cookie_params(3600, "/path", "blah", FALSE, FALSE)); 19 var_dump(session_set_cookie_params(3600, "/path", "blah", FALSE, TRUE)); 23 var_dump(session_set_cookie_params(3600, "/path", "blah", FALSE, FALSE)); 30 *** Testing session_set_cookie_params() : variation *** 37 Warning: session_set_cookie_params(): Session cookie parameters cannot be changed when a session is…
|
H A D | session_set_cookie_params_variation6.phpt | 2 Test session_set_cookie_params() function : variation 12 echo "*** Testing session_set_cookie_params() : variation ***\n"; 15 var_dump(session_set_cookie_params(["samesite" => "nothing"])); 19 var_dump(session_set_cookie_params(["samesite" => "test"])); 23 var_dump(session_set_cookie_params(["samesite" => "other"])); 30 *** Testing session_set_cookie_params() : variation *** 37 Warning: session_set_cookie_params(): Session cookie parameters cannot be changed when a session is…
|
H A D | session_get_cookie_params_basic.phpt | 20 var_dump(session_set_cookie_params(3600, "/path", "blah", FALSE, FALSE)); 22 var_dump(session_set_cookie_params(1234567890, "/guff", "foo", TRUE, TRUE)); 24 var_dump(session_set_cookie_params([
|
/PHP-8.0/ext/session/ |
H A D | session.stub.php | 62 function session_set_cookie_params(array|int $lifetime_or_options, ?string $path = null, ?string $d… function
|
H A D | session_arginfo.h | 156 ZEND_FUNCTION(session_set_cookie_params); 189 ZEND_FE(session_set_cookie_params, arginfo_session_set_cookie_params)
|
H A D | session.c | 1676 PHP_FUNCTION(session_set_cookie_params) in PHP_FUNCTION() argument
|
Completed in 24 milliseconds