Bug #62596 [Asn]: getallheaders() missing with PHP-FPM

From: Date: Thu, 27 Oct 2016 21:42:44 +0000
Subject: Bug #62596 [Asn]: getallheaders() missing with PHP-FPM
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-205042@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=62596&edit=1 ID: 62596 Updated by: yohgaki@php.net 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: Let's clean up function name mess now and add it (them). Need RFC for this. If nobody cares, I may handle this. Assign this bug to me. Previous Comments: ------------------------------------------------------------------------ [2016-10-25 22:31:37] fredrik at neam dot se 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+ ------------------------------------------------------------------------ [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 ------------------------------------------------------------------------ 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

« previous php.bugs (#205042) next »