diff options
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); } } |