thanks git
[mdref/mdref-http] / http / Header / parse.md
index c1965c11c0b37be3174db5952a15848631504b53..fcfb02999f34b534823129e21b5d85ce60e252c2 100644 (file)
@@ -1,14 +1,20 @@
-# static array http\Header::parse(string $header[, string $header_class = null])
+# static array http\Header::parse(string $header[, string $header_class = NULL])
 
 Parse HTTP headers.
+See also http\Header\Parser.
 
 ## Params:
 
-* ```string $header```  
+* string $header  
   The complete string of headers.
-* Optional ```string $header_class```  
+* Optional string $header_class  
   A class extending http\Header.
   
 ## Returns:
 
-* ```array``` of parsed headers, where the elements are instances of $header_class if specified.
+* array of parsed headers, where the elements are instances of $header_class if specified.
+* false, if parsing fails.
+
+## Warnings:
+
+* If the header parser fails.