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 5e753840cc..2ba68aabcf 100644 --- a/ext/standard/head.c +++ b/ext/standard/head.c @@ -286,7 +286,7 @@ PHP_FUNCTION(setcookie) goto cleanup; } } else { - expires = Z_LVAL_P(expires_or_options); + expires = zval_get_long(expires_or_options); } } |