Edit report at https://bugs.php.net/bug.php?id=62596&edit=1
ID: 62596
Comment by: fredrik at neam dot se
Reported by: phofstetter at sensational dot ch
Summary: getallheaders() missing with PHP-FPM
Status: Assigned
Type: Bug
Package: FPM related
Operating System: MacOS X, Linux
PHP Version: 5.4.4
Assigned To: fmargaine
Block user comment: N
Private report: N
New Comment:
It seems that https://github.com/php/php-src/pull/910 is not
even accepted for 7.1 even.
In the meantime, @ralouphie has a polyfill that can be installed via composer: https://github.com/ralouphie/getallheaders
making the function available in all scripts that loads the composer autoloader.
PS I tried adding https://github.com/php/php-src/pull/910 to this
bug report but I could only choose PRs with ids from around 1800+
Previous Comments:
------------------------------------------------------------------------
[2016-06-16 16:44:29] alex at tresorg dot com
I hope its not going to be 5 years
------------------------------------------------------------------------
[2016-06-12 21:45:17] anrdaemon at freemail dot ru
4 years?
------------------------------------------------------------------------
[2015-07-21 22:29:51] cmb@php.net
There's PR #910[1] lying around since quite a while â not sure why it hasn't been
merged yet.
[1] <https://github.com/php/php-src/pull/910> (It
doesn't seem possible to add this to the PR section, BTW)
------------------------------------------------------------------------
[2015-07-21 21:54:59] yohgaki@php.net
I suggested generic name for the function when the change was made. e.g. sapi_header_get_all(),
sapi_header_send(), etc.
It would be time to cleanup all function naming mess.
https://wiki.php.net/rfc/consistent_function_names
------------------------------------------------------------------------
[2015-07-21 21:46:24] darck at vossey dot net
*3 years old
I hope it's not going to be 4 :)
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
https://bugs.php.net/bug.php?id=62596
--
Edit this bug report at https://bugs.php.net/bug.php?id=62596&edit=1