Returns only header names (bug #34843)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@198333 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Jakub Vrana 2005-10-13 09:01:24 +00:00
parent 7023cf3643
commit 173921fab0

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.3 $ -->
<!-- $Revision: 1.4 $ -->
<refentry id="function.headers-list">
<refnamediv>
<refname>headers_list</refname>
@ -46,13 +46,13 @@ var_dump(headers_list());
<![CDATA[
array(4) {
[0]=>
string(29) "X-Powered-By: PHP/5.0.0"
string(29) "X-Powered-By"
[1]=>
string(19) "Set-Cookie: foo=bar"
string(19) "Set-Cookie"
[2]=>
string(18) "X-Sample-Test: foo"
string(18) "X-Sample-Test"
[3]=>
string(24) "Content-type: text/plain"
string(24) "Content-type"
}
]]>