Keep in mind that this function replaces all "_" characters by "-" in headers names
(PECL pecl_http >= 0.10.0)
http_get_request_headers — Get request headers as array
Get a list of incoming HTTP headers.
Returns an associative array of incoming request headers.
Keep in mind that this function replaces all "_" characters by "-" in headers names