Doc #52582 [Opn->Fbk]: $http_response_header
| From: | degeberg@php.net | Date: | Sun, 15 Aug 2010 07:21:34 +0000 |
| Subject: | Doc #52582 [Opn->Fbk]: $http_response_header | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-4859@lists.php.net to get a copy of this message | ||
Edit report at http://bugs.php.net/bug.php?id=52582&edit=1
ID: 52582
Updated by: degeberg@php.net
Reported by: txino at malon dot org
Summary: $http_response_header
-Status: Open
+Status: Feedback
Type: Documentation Problem
Package: Documentation problem
PHP Version: Irrelevant
Block user comment: N
New Comment:
It does explain this:
"When using the HTTP wrapper, $http_response_header will be populated
with the HTTP response headers."
It doesn't claim anywhere that $http_response_header is supposed to be a
superglobal. What do you suggest the documentation should say?
Previous Comments:
------------------------------------------------------------------------
[2010-08-11 16:19:25] txino at malon dot org
Description:
------------
The $http_response_header variable i not global nor superglobal. It
seems like a local variable that is created in the same context you call
"file_get_contents" or similar.
I don't understand why the documentation does not explain this.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/bug.php?id=52582&edit=1