Home
last modified time | relevance | path

Searched refs:samesite (Results 1 – 8 of 8) sorted by relevance

/PHP-8.0/ext/session/tests/
H A Dsession_get_cookie_params_variation1.phpt49 ["samesite"]=>
63 ["samesite"]=>
77 ["samesite"]=>
91 ["samesite"]=>
105 ["samesite"]=>
119 ["samesite"]=>
133 ["samesite"]=>
H A Dsession_get_cookie_params_basic.phpt30 "samesite" => "please"]));
49 ["samesite"]=>
64 ["samesite"]=>
79 ["samesite"]=>
94 ["samesite"]=>
H A Dsession_set_cookie_params_variation6.phpt15 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"]));
H A Dsession_set_cookie_params_variation7.phpt34 var_dump(session_set_cookie_params(["secure" => true, "samesite" => "please"]));
/PHP-8.0/ext/standard/
H A Dhead.c82 zend_string *samesite, bool url_encode) in php_setcookie() argument
182 if (samesite && ZSTR_LEN(samesite)) { in php_setcookie()
184 smart_str_append(&buf, samesite); in php_setcookie()
196 zend_string **domain, zend_bool *secure, zend_bool *httponly, zend_string **samesite) in php_head_parse_cookie_options_array() argument
217 *samesite = zval_get_string(value); in php_head_parse_cookie_options_array()
230 zend_string *name, *value = NULL, *path = NULL, *domain = NULL, *samesite = NULL; in php_setcookie_common() local
252 &domain, &secure, &httponly, &samesite) in php_setcookie_common()
258 …if (php_setcookie(name, value, expires, path, domain, secure, httponly, samesite, !is_raw) == SUCC… in php_setcookie_common()
272 if (samesite) { in php_setcookie_common()
273 zend_string_release(samesite); in php_setcookie_common()
H A Dhead.h33 zend_string *samesite, bool url_encode);
/PHP-8.0/ext/standard/tests/network/
H A Dsetcookie.phpt21 …'/path/', 'domain' => 'domain.tld', 'secure' => true, 'httponly' => true, 'samesite' => 'Strict']);
/PHP-8.0/ext/session/
H A Dsession.c1680 zend_string *lifetime = NULL, *path = NULL, *domain = NULL, *samesite = NULL; in PHP_FUNCTION() local
1755 samesite = zval_get_string(value); in PHP_FUNCTION()
1823 if (samesite) { in PHP_FUNCTION()
1825 result = zend_alter_ini_entry(ini_name, samesite, PHP_INI_USER, PHP_INI_STAGE_RUNTIME); in PHP_FUNCTION()
1840 if (samesite) zend_string_release(samesite); in PHP_FUNCTION()

Completed in 23 milliseconds