PHP 7.1.18 Released


(PECL pecl_http >= 0.23.0)

HttpRequest::getResponseCookiesGet response cookie(s)


public array HttpRequest::getResponseCookies ([ int $flags = 0 [, array $allowed_extras ]] )

Get response cookie(s) after the request has been sent.

If redirects were allowed and several responses were received, the data references the last received response.

Elenco dei parametri


http_parse_cookie() flags


allowed keys treated as extra information instead of cookie names

Valori restituiti

Returns an array of stdClass objects like http_parse_cookie() would return.

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top