#37906 [Opn->Fbk]: headers_list output appears incomplete

From: Date: Sat, 24 Jun 2006 17:11:44 +0000
Subject: #37906 [Opn->Fbk]: headers_list output appears incomplete
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-98738@lists.php.net to get a copy of this message
ID: 37906 Updated by: mike@php.net 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

« previous php.bugs (#98738) next »