c1965c11c0b37be3174db5952a15848631504b53
[mdref/mdref] / 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.