$http_response_header

(PHP 4 >= 4.0.4, PHP 5, PHP 7)

$http_response_header — HTTP response headers

Description

The $http_response_headerarray is similar to the
get_headers() function. When using the
HTTP wrapper,
$http_response_header will be populated with the HTTP
response headers. $http_response_header will be created
in the local scope.