getHeader() getHeader(string $name) : string Gets the value of header. Returns the value of the specified request header. Parameters string $name the name of the header Returns string — the value of the specified header
getHeaderNames() getHeaderNames() : array Gets all the header names. Returns an array of all the header names this request contains. Returns array — all the available headers as strings
getHeaders() getHeaders() : array Gets all the headers. Returns an associative array of all the header names and values of this request. Returns array — containing all the headers
_getAllHeaders() _getAllHeaders() : array Returns all HTTP_* headers. Returns all the HTTP_* headers. Works both if PHP is an apache module and if it's running as a CGI. Returns array — the headers' names and values