diff options
author | Xinchen Hui <laruence@gmail.com> | 2018-08-17 16:19:26 +0800 |
---|---|---|
committer | Xinchen Hui <laruence@gmail.com> | 2018-08-17 16:19:26 +0800 |
commit | 5c1a2d8375c7edcb4716d2de6c51cd3b59f0ae7b (patch) | |
tree | 884e9340137809e0c1d5b066ee242d1f5b89e699 /ext/standard/head.c | |
parent | 0a16af043e24a2c55d9bc4f7bf552dee96fcedcc (diff) | |
download | php-git-5c1a2d8375c7edcb4716d2de6c51cd3b59f0ae7b.tar.gz |
Fixed same bug #76755 in setrawcookie
Diffstat (limited to 'ext/standard/head.c')
-rw-r--r-- | ext/standard/head.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/standard/head.c b/ext/standard/head.c index 07b9a93cf2..7c813c4783 100644 --- a/ext/standard/head.c +++ b/ext/standard/head.c @@ -327,7 +327,7 @@ PHP_FUNCTION(setrawcookie) } php_head_parse_cookie_options_array(expires_or_options, &expires, &path, &domain, &secure, &httponly, &samesite); } else { - expires = Z_LVAL_P(expires_or_options); + expires = zval_get_long(expires_or_options); } } |