(PECL pecl_http >= 1.2.0)
http_build_cookie — Build cookie string
$cookie
Build a cookie string from an array/object like returned by http_parse_cookie().
cookie
a cookie list like returned from http_parse_cookie()
Returns the cookie(s) as string.