From a9c050c6a454dc69310fd72262e74e3dd92e0236 Mon Sep 17 00:00:00 2001 From: Sara Golemon Date: Thu, 20 Nov 2003 21:25:22 +0000 Subject: [PATCH] Initial Revision git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@144659 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/http/functions/headers-list.xml | 89 +++++++++++++++++++++++ 1 file changed, 89 insertions(+) create mode 100644 reference/http/functions/headers-list.xml diff --git a/reference/http/functions/headers-list.xml b/reference/http/functions/headers-list.xml new file mode 100644 index 0000000000..3713d1eb1b --- /dev/null +++ b/reference/http/functions/headers-list.xml @@ -0,0 +1,89 @@ + + + + + headers_list + Returns a list of response headers sent (or ready to send) + + + Description + + arrayheaders_list + + + + headers_list will return a numerically indexed array + of headers to be sent to the browser / client. To determine whether or not + these headers have been sent yet, use headers_sent. + + + + Examples using <function>headers_list</function> + + + string(29) "X-Powered-By: PHP/5.0.0" + [1]=> + string(19) "Set-Cookie: foo=bar" + [2]=> + string(18) "X-Sample-Test: foo" + [3]=> + string(24) "Content-type: text/plain" +} + +*/ + +?> +]]> + + + + + See Also: + headers_sent, + header, and + setcookie. + + + + +