ID: 37906
Updated by: [EMAIL PROTECTED]
Reported By: mike at brenden dot com
-Status: Open
+Status: Feedback
-Bug Type: Output Control
+Bug Type: HTTP related
Operating System: linux
PHP Version: 5.1.4
New Comment:
What's your SAPI?
Post a tiny but complete reproduce script with output please!
Previous Comments:
------------------------------------------------------------------------
[2006-06-24 17:04:15] mike at brenden dot com
Description:
------------
startphp:
header('X-x: yes');
$ho=apache_response_headers();
echo '<p>HEADERS FROM MG</p>';
print_r($ho);
var_dump(headers_list());
:endphp
output from headers_list() shows only numeric indices and header-item
name; it does not also show the header-item value (example: [0] element
containts only 'X-x' but does not also contain colon, space and 'yes')
meanwhile, apache_response_headers() works as described.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=37906&edit=1