|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2010-06-30 00:29 UTC] olafvdspek at gmail dot com
-Summary: Behaviour not properly documented
+Summary: header() not fully documented
[2010-06-30 00:29 UTC] olafvdspek at gmail dot com
[2010-10-20 04:54 UTC] kalle@php.net
[2010-10-20 04:54 UTC] kalle@php.net
-Status: Open
+Status: Closed
-Assigned To:
+Assigned To: kalle
[2010-10-20 04:54 UTC] kalle@php.net
[2010-10-20 17:02 UTC] olafvdspek at gmail dot com
[2020-02-07 06:09 UTC] phpdocbot@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Dec 01 01:00:01 2025 UTC |
Description: ------------ If the first parameter is an empty string, the third parameter appears to be ignored. This isn't documented. If the third parameter is specified, the first one appears to be ignored, but this isn't documented either. Test script: --------------- header('', false, 404); Expected result: ---------------- GET /temp/404.php HTTP/1.0 Host: leiden.xwis.net HTTP/1.0 200 OK X-Powered-By: PHP/5.3.2-1 Content-type: text/html Content-Length: 0 Connection: close Date: Tue, 29 Jun 2010 22:21:19 GMT Server: lighttpd/1.4.26 Actual result: -------------- GET /temp/404.php HTTP/1.0 Host: leiden.xwis.net HTTP/1.0 404 Not Found X-Powered-By: PHP/5.3.2-1 Content-type: text/html Content-Length: 0 Connection: close Date: Tue, 29 Jun 2010 22:20:35 GMT Server: lighttpd/1.4.26