|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2009-02-24 15:06 UTC] leha at inkin dot ru
[2009-02-25 11:43 UTC] thetaphi@php.net
[2009-02-25 18:51 UTC] leha at inkin dot ru
[2009-02-25 19:59 UTC] thetaphi@php.net
[2009-02-27 07:32 UTC] thetaphi@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Oct 24 06:00:01 2025 UTC |
Description: ------------ headers_list() returns an empty array. Though apache_response_headers() works fine. Using Sun Java System Web Server 7.0 Update 3 + PHP 5.2.8. The same problem is with older SJSWS 7.0 U1 + PHP 5.2.1. ./configure --with-nsapi=/opt/webserver7u3 --with-openssl=/usr --with- enable-dbase --enable-exif --enable-ftp --with-gd --with-ttf --with-t1lib=/usr --with- enable-mbstring --with-libmbfl --with-mcrypt --with-mhash --with-ming --with- with-libxml-dir --with-freetype-dir --with-xsl Reproduce code: --------------- <?php header('Content-Type: text/html'); var_dump(headers_list()); ?> Expected result: ---------------- array(4) { [0]=> string(23) "X-Powered-By: PHP/5.2.8" [1]=> string(23) "Content-type: text/html" } Actual result: -------------- array(0) { }