Searched refs:samesite (Results 1 – 8 of 8) sorted by relevance
/PHP-8.3/ext/session/tests/ |
H A D | session_get_cookie_params_variation1.phpt | 51 ["samesite"]=> 65 ["samesite"]=> 79 ["samesite"]=> 93 ["samesite"]=> 107 ["samesite"]=> 121 ["samesite"]=> 135 ["samesite"]=>
|
H A D | session_get_cookie_params_basic.phpt | 32 "samesite" => "please"])); 51 ["samesite"]=> 66 ["samesite"]=> 81 ["samesite"]=> 96 ["samesite"]=>
|
H A D | session_set_cookie_params_variation6.phpt | 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"]));
|
H A D | session_set_cookie_params_variation7.phpt | 36 var_dump(session_set_cookie_params(["secure" => true, "samesite" => "please"]));
|
/PHP-8.3/ext/standard/ |
H A D | head.c | 82 zend_string *samesite, bool url_encode) in php_setcookie() argument 181 if (samesite && ZSTR_LEN(samesite)) { in php_setcookie() 183 smart_str_append(&buf, samesite); in php_setcookie() 195 zend_string **domain, bool *secure, bool *httponly, zend_string **samesite) in php_head_parse_cookie_options_array() argument 216 *samesite = zval_get_string(value); in php_head_parse_cookie_options_array() 229 zend_string *name, *value = NULL, *path = NULL, *domain = NULL, *samesite = NULL; in php_setcookie_common() local 251 &domain, &secure, &httponly, &samesite) in php_setcookie_common() 257 …if (php_setcookie(name, value, expires, path, domain, secure, httponly, samesite, !is_raw) == SUCC… in php_setcookie_common() 271 if (samesite) { in php_setcookie_common() 272 zend_string_release(samesite); in php_setcookie_common()
|
H A D | head.h | 33 zend_string *samesite, bool url_encode);
|
/PHP-8.3/ext/standard/tests/network/ |
H A D | setcookie.phpt | 21 …'/path/', 'domain' => 'domain.tld', 'secure' => true, 'httponly' => true, 'samesite' => 'Strict']);
|
/PHP-8.3/ext/session/ |
H A D | session.c | 1686 zend_string *lifetime = NULL, *path = NULL, *domain = NULL, *samesite = NULL; in PHP_FUNCTION() local 1760 samesite = zval_get_string(value); in PHP_FUNCTION() 1828 if (samesite) { in PHP_FUNCTION() 1830 result = zend_alter_ini_entry(ini_name, samesite, PHP_INI_USER, PHP_INI_STAGE_RUNTIME); in PHP_FUNCTION() 1845 if (samesite) zend_string_release(samesite); in PHP_FUNCTION()
|
Completed in 17 milliseconds