http
PHP Manual

HttpRequest::getHeaders

(PECL pecl_http:0.10.0-1.5.5)

HttpRequest::getHeaders — Get headers

Descripción

public array HttpRequest::getHeaders ( void )

Get previously set request headers.

Valores retornados

Returns an associative array containing all currently set headers.


http
PHP Manual