You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In PHP 4+, $http_response_header is populated in local scope with response headers of outgoing HTTP requests when using HTTP wrapper such as file_get_contents with a url as filename.
example from php.net:
functionget_contents() {
file_get_contents("http://example.com");
var_dump($http_response_header); // variable is populated in the local scope
}
get_contents();
var_dump($http_response_header); // a call to get_contents() does not populate the variable outside the function scope
current behavior
phpactor still reports $http_response_header as "Undefined variable"
In PHP 4+, $http_response_header is populated in local scope with response headers of outgoing HTTP requests when using HTTP wrapper such as
file_get_contents
with a url as filename.example from php.net:
current behavior
phpactor still reports
$http_response_header
as "Undefined variable"running neovim v0.9.5 with phpactor 2024.03.09.0, installed through nvim-lspconfig
The text was updated successfully, but these errors were encountered: