HTTP
PHP Manual

http_get_request_headers

(PECL pecl_http:0.10.0-1.5.5)

http_get_request_headers — Get request headers as array

说明

array http_get_request_headers ( void )

Get a list of incoming HTTP headers.

参数

返回值

Returns an associative array of incoming request headers.

参见


HTTP
PHP Manual