Function parse_header
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.
string|array |
$header |
Header to parse into components. |
array
|
Returns the parsed header values. |