HttpRequest::getResponseCookies
(PECL pecl_http:0.23.0-1.5.5)
HttpRequest::getResponseCookies — Get response cookie(s)
Description
public
array HttpRequest::getResponseCookies
([ int $flags
[, array $allowed_extras
]] )
If redirects were allowed and several responses were received, the data
references the last received response.
Parameters
-
flags
-
http_parse_cookie() flags
-
allowed_extras
-
allowed keys treated as extra information instead of cookie names