PHP 5.4.31 Released

HttpMessage::getHeader

(PECL pecl_http >= 1.1.0)

HttpMessage::getHeaderGet header

Description

public string HttpMessage::getHeader ( string $header )

Get message header.

Parameters

header

header name

Return Values

Returns the header value on success or NULL if the header does not exist.

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top