#37283 [Opn->Ana]: headers_list example produced with buggy Apache2 SAPI

From: Date: Tue, 02 May 2006 21:23:22 +0000
Subject: #37283 [Opn->Ana]: headers_list example produced with buggy Apache2 SAPI
References: 1  Groups: php.doc 
Request: Send a blank email to phpdoc+get-969372849@lists.php.net to get a copy of this message
ID: 37283 Updated by: bjori@php.net Reported By: mike@php.net -Status: Open +Status: Analyzed Bug Type: Documentation problem Operating System: N/A PHP Version: Irrelevant New Comment: Patches are always welcomed, no matter how small they are. http://php.is/bugs/phpdoc/phpdoc.headers-list.patch.txt Previous Comments: ------------------------------------------------------------------------ [2006-05-02 20:08:19] mike@php.net Description: ------------ Since PHP-5.1.3 a bug in the Apache2 SAPI, which procuded truncated headers (just right where the colon should be), was fixed. Please update the example result for the headers_list function, which apparently has been generated with Apache2. Reproduce code: --------------- $ sapi/cgi/php <<< '<?php print_r(headers_list());' ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=37283&edit=1

« previous php.doc (#969372849) next »