Skip to content

Commit 4faf135

Browse files
committed
Update UPGRADING.INTERNALS wrt. Same Site Cookies
1 parent 7aca2bd commit 4faf135

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

UPGRADING.INTERNALS

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ PHP 7.3 INTERNALS UPGRADE NOTES
2828
y. zend_constant
2929
z. HAVE_ST_BLKSIZE and HAVE_ST_RDEV
3030
aa. RETSIGTYPE
31+
bb. php_setcookie
3132

3233
2. Build system changes
3334
a. Unix build system changes
@@ -174,6 +175,12 @@ PHP 7.3 INTERNALS UPGRADE NOTES
174175
aa. RETSIGTYPE has been removed from the generated php_config.h and should be
175176
replaced with void.
176177

178+
bb. php_setcookie() now expects an additional samesite argument, and the
179+
url_encode parameter has been moved to the end. The signature is now:
180+
int php_setcookie(zend_string *name, zend_string *value, time_t expires,
181+
zend_string *path, zend_string *domain, int secure,
182+
int httponly, zend_string *samesite, int url_encode);
183+
177184
========================
178185
2. Build system changes
179186
========================

0 commit comments

Comments
 (0)