Menu Riverview Church

HEADERS_LIST

Returns a list of response headers sent (or ready to send)

SYNTAX

headers_list ( void ) : array

RETURN

Returns a numerically indexed array of headers.

EXAMPLES

1

Array
(
    [0] => X-Powered-By: PHP/7.4.9
)

2

Array
(
    [0] => X-Powered-By: PHP/7.4.9
    [1] => Content-type: text/plain;charset=UTF-8
    [2] => X-Sample-Test: test
    [3] => Set-Cookie: test=stuff
)

PHP