HH\get_headers_secure
Fetch all HTTP request headers, including duplicates
namespace HH;
function get_headers_secure(): darray<string, varray<string>>;
Returns
array
- - An associative array of all the HTTP headers in the current request. The values in the array will be strings for uniquely specified headers, but arrays where a header was specified more than once.