array headers_list ( void )
headers_list() will return a list of headers to be sent to the browser / client. To determine whether or not these headers have been sent yet, use headers_sent().
Returns a numerically indexed array of headers.