Searched refs:session_set_cookie_params (Results 1 – 16 of 16) sorted by relevance
/PHP-8.2/ext/session/tests/ |
H A D | session_set_cookie_params_variation7.phpt | 2 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 D | session_set_cookie_params_basic.phpt | 2 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 D | session_set_cookie_params_variation1.phpt | 2 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 D | session_set_cookie_params_variation2.phpt | 2 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 D | session_set_cookie_params_variation4.phpt | 2 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 D | session_set_cookie_params_variation6.phpt | 2 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 D | session_set_cookie_params_variation3.phpt | 2 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 D | session_set_cookie_params_variation5.phpt | 2 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 D | session_set_cookie_params_variation8.phpt | 2 Test session_set_cookie_params() function : negative and 0 lifetime 13 var_dump(session_set_cookie_params(["lifetime" => 0])); 17 var_dump(session_set_cookie_params(["lifetime" => -10])); 28 Warning: session_set_cookie_params(): CookieLifetime cannot be negative in %s on line %d
|
H A D | gh16385.phpt | 2 GH-16385 (Unexpected null returned by session_set_cookie_params) 9 var_dump(session_set_cookie_params(3600, "/foo")); 12 Warning: session_set_cookie_params(): Session cookies cannot be used when session.use_cookies is di…
|
H A D | session_get_cookie_params_basic.phpt | 22 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([
|
H A D | gh16290.phpt | 9 session_set_cookie_params(PHP_INT_MAX, '/', null, false, true);
|
/PHP-8.2/ext/session/ |
H A D | session.stub.php | 88 function session_set_cookie_params(array|int $lifetime_or_options, ?string $path = null, ?string $d… function
|
H A D | session_arginfo.h | 159 ZEND_FUNCTION(session_set_cookie_params); 192 ZEND_FE(session_set_cookie_params, arginfo_session_set_cookie_params)
|
H A D | session.c | 1669 PHP_FUNCTION(session_set_cookie_params) in PHP_FUNCTION() argument
|
/PHP-8.2/ |
H A D | NEWS | 171 . Fixed bug GH-16385 (Unexpected null returned by session_set_cookie_params).
|
Completed in 30 milliseconds