note 130661 added to function.http-get-last-response-headers
| From: | dev@citri.city | Date: | Wed, 18 Feb 2026 10:22:08 +0000 |
| Subject: | note 130661 added to function.http-get-last-response-headers | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-222553@lists.php.net to get a copy of this message | ||
You cannot polyfill http_get_last_response_headers because the $http_response_header has to be in
scope for it to be read. As soon as you put it in a function, it's out of scope.
----
Server IP: 206.189.2.9
Probable Submitter: 2a0e:1d47:8a04:1c00:4577:6c56:949b:db14
----
Manual Page -- https://php.net/manual/en/function.http-get-last-response-headers.php
Edit -- https://main.php.net/note/edit/130661
Del: integrated -- https://main.php.net/note/delete/130661/integrated
Del: useless -- https://main.php.net/note/delete/130661/useless
Del: bad code -- https://main.php.net/note/delete/130661/bad+code
Del: spam -- https://main.php.net/note/delete/130661/spam
Del: non-english -- https://main.php.net/note/delete/130661/non-english
Del: in docs -- https://main.php.net/note/delete/130661/in+docs
Del: other reasons-- https://main.php.net/note/delete/130661
Reject -- https://main.php.net/note/reject/130661
Search -- https://main.php.net/manage/user-notes.php