PHP getallheaders() polyfill. Compatible with PHP >= 5.3.
getallheaders()
This is a simple polyfill for getallheaders().
For PHP version >= 5.6:
>= 5.6
composer require ralouphie/getallheaders
For PHP version < 5.6:
< 5.6
composer require ralouphie/getallheaders "^2"
info at phpclasses dot org