parse()
parse(string|array $header) : array
Parse an array of header values containing ";" separated data into an array of associative arrays representing the header key value pair data of the header. When a parameter does not contain a value, but just contains a key, this function will inject a key with a '' string value.
Parameters
string|array | $header | Header to parse into components. |
Returns
array —Returns the parsed header values.