Build cookie string

http_inflate
http_date
HTTP Functions
PHP Manual

# http_build_cookie

(PECL pecl_http >= 1.2.0)

http_build_cookie — Build cookie string

### Description

string http_build_cookie ( array `$cookie` )

Build a cookie string from an array/object like returned by http_parse_cookie().

### Parameters

`cookie`

  a cookie list like returned from http_parse_cookie()

### Return Values

Returns the cookie(s) as string.

### See Also

- http_parse_cookie() - Parse HTTP cookie

http_inflate
http_date
HTTP Functions
PHP Manual