ID:               37283
 Updated by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
 Status:           Analyzed
 Bug Type:         Documentation problem
 Operating System: N/A
 PHP Version:      Irrelevant
 New Comment:

Updated, sorry ;)


Previous Comments:
------------------------------------------------------------------------

[2006-05-02 21:25:36] [EMAIL PROTECTED]

of course ;)

But this one isn't good surely (the string lenght):
-  string(12) "X-Powered-By"
+  string(12) "X-Powered-By: PHP/5.1.3"

------------------------------------------------------------------------

[2006-05-02 21:23:22] [EMAIL PROTECTED]

Patches are always welcomed, no matter how small they are.

http://php.is/bugs/phpdoc/phpdoc.headers-list.patch.txt

------------------------------------------------------------------------

[2006-05-02 20:08:19] [EMAIL PROTECTED]

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

Reply via email to