getallheaders() getallheaders() : \string[string] Get all HTTP header key/values as an associative array for the current request. Returns \string[string] — The HTTP header key/value pairs.