Easy Tutorial
❮ Func Date Timezone Open Func Ftp Cdup ❯

PHP headers_list() Function



Definition and Usage

The headers_list() function returns a list of the response headers that have been sent (or are ready to be sent).

This function returns an array containing the headers.

Syntax


Tips and Notes

Tip: To determine if headers have been sent, use the headers_sent() function.


Example 1

The above code will output:


❮ Func Date Timezone Open Func Ftp Cdup ❯