Function: get_header()

function get_header(string $name): string;

Gets the header by its name.

Parameters

Name Pass type Value type Default value Description
$name by value string

Name of the header.

Returns

string

Returns the header value of empty string if the header is not set.

Authors

Oleg Schildt

Package

Source code