http_parse_cookie Parse HTTP cookie &reftitle.description; objecthttp_parse_cookie stringcookie intflags arrayallowed_extras Parses HTTP cookies like sent in a response into a struct. &reftitle.parameters; cookie String containing the value of a Set-Cookie response header flags Parse flags allowed_extras Array containing recognized extra keys. By default all unknown keys will be treated as cookie names. &reftitle.returnvalues; Returns an stdClass like shown in the example on success or FALSE on failure. &reftitle.examples; Using <function>http_parse_cookie</function> ]]> &example.outputs; Array ( [foo] => bar [bar] => baz ) [extras] => Array ( [comment] => ) [flags] => 16 [expires] => 0 [path] => / [domain] => example.com ) ]]>