#37283 [NEW]: headers_list example produced with buggy Apache2 SAPI

From: Date: Tue, 02 May 2006 20:08:20 +0000
Subject: #37283 [NEW]: headers_list example produced with buggy Apache2 SAPI
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969372848@lists.php.net to get a copy of this message
From: mike@php.net Operating system: N/A PHP version: Irrelevant PHP Bug Type: Documentation problem Bug description: headers_list example produced with buggy Apache2 SAPI 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 bug report at http://bugs.php.net/?id=37283&edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=37283&r=trysnapshot44 Try a CVS snapshot (PHP 5.1): http://bugs.php.net/fix.php?id=37283&r=trysnapshot51 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=37283&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=37283&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=37283&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=37283&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=37283&r=needscript Try newer version: http://bugs.php.net/fix.php?id=37283&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=37283&r=support Expected behavior: http://bugs.php.net/fix.php?id=37283&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=37283&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=37283&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=37283&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=37283&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=37283&r=dst IIS Stability: http://bugs.php.net/fix.php?id=37283&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=37283&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=37283&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=37283&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=37283&r=mysqlcfg

« previous php.doc (#969372848) next »