The HttpRequest
PHP Manual

HttpRequest::getCookies

(PECL pecl_http >= 0.10.0)

HttpRequest::getCookiesGet cookies

说明

public array HttpRequest::getCookies ( void )

Get previously set cookies.

返回值

Returns an associative array containing any previously set cookies.


The HttpRequest
PHP Manual