flush
[mdref/mdref-http] / http / Header / parse.md
1 # static array http\Header::parse(string $header[, string $header_class = null])
2
3 Parse HTTP headers.
4
5 ## Params:
6
7 * string $header
8 The complete string of headers.
9 * Optional string $header_class
10 A class extending http\Header.
11
12 ## Returns:
13
14 * array of parsed headers, where the elements are instances of $header_class if specified.