Fetch all HTTP request headers, including duplicates

namespace HH;

function get_headers_secure(): darray<string, varray<string>>;

Return Values

  • array - - An associative array of all the HTTP headers in the current request, or FALSE on failure. The values in the array will be strings for uniquely specified headers, but arrays where a header was specified more than once.