We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi there
According to the php documentation, the function getallheaders() might return false. In fact, on my hosting, the function even returns null.
false
null
Probably you should check, if the variable $headers is an array and skip if not.
$headers
Slim/Slim/Http/Headers.php
Line 82 in eaee12e
On my hosting I get the following warning:
array_change_key_case() expects parameter 1 to be array, null given
Thanks Adrian
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi there
According to the php documentation, the function getallheaders() might return
false
. In fact, on my hosting, the function even returnsnull
.Probably you should check, if the variable
$headers
is an array and skip if not.Slim/Slim/Http/Headers.php
Line 82 in eaee12e
On my hosting I get the following warning:
Thanks
Adrian
The text was updated successfully, but these errors were encountered: