summaryrefslogtreecommitdiff
path: root/ext/standard/head.h
diff options
context:
space:
mode:
authorPedro Magalhães <mail@pmmaga.net>2018-07-19 02:40:39 +0100
committerChristoph M. Becker <cmbecker69@gmx.de>2018-07-31 12:40:26 +0200
commit2b58ab23c6ad3301b31a2015f5faa31801147dfd (patch)
treeed98e3c0bd414f84dfb5bdff483c6569823156ee /ext/standard/head.h
parent08b9310e6d8fc83e785213aab95afbec4d248c0f (diff)
downloadphp-git-2b58ab23c6ad3301b31a2015f5faa31801147dfd.tar.gz
Support for samesite cookies with array syntax
Allows using an alternative array argument with support for the samesite option on the following functions: setcookie setrawcookie session_set_cookie_params
Diffstat (limited to 'ext/standard/head.h')
-rw-r--r--ext/standard/head.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/standard/head.h b/ext/standard/head.h
index 725b176ec4..5402082d1a 100644
--- a/ext/standard/head.h
+++ b/ext/standard/head.h
@@ -37,6 +37,6 @@ PHP_FUNCTION(headers_list);
PHP_FUNCTION(http_response_code);
PHPAPI int php_header(void);
-PHPAPI int php_setcookie(zend_string *name, zend_string *value, time_t expires, zend_string *path, zend_string *domain, int secure, int url_encode, int httponly, zend_string *samesite);
+PHPAPI int php_setcookie(zend_string *name, zend_string *value, time_t expires, zend_string *path, zend_string *domain, int secure, int httponly, zend_string *samesite, int url_encode);
#endif