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.
Namespace: GuzzleHttp\Psr7
Deprecated: parse_header will be removed in guzzlehttp/psr7:2.0. Use Header::parse instead.
Located at functions.php
Deprecated: parse_header will be removed in guzzlehttp/psr7:2.0. Use Header::parse instead.
Located at functions.php
Parameters summary
string|array |
$header |
Header to parse into components. |
Return value summary
array
|
Returns the parsed header values. |