HttpResponse::getHeader

Example

 static mixed HttpResponse::getHeader ([ string $name ] ) 

Description

Get header(s) about to be sent. Note: This may not work as expected with the following SAPI(s): Apache2 w/PHP < 5.1.3.

Return Values

Returns either a string containing the value of the header matching name, FALSE on failure, or an associative array with all headers.