28 lines
1.1 KiB
Markdown
28 lines
1.1 KiB
Markdown
|
getallheaders
|
||
|
=============
|
||
|
|
||
|
PHP `getallheaders()` polyfill. Compatible with PHP >= 5.3.
|
||
|
|
||
|
[](https://travis-ci.org/ralouphie/getallheaders)
|
||
|
[](https://coveralls.io/r/ralouphie/getallheaders?branch=master)
|
||
|
[](https://packagist.org/packages/ralouphie/getallheaders)
|
||
|
[](https://packagist.org/packages/ralouphie/getallheaders)
|
||
|
[](https://packagist.org/packages/ralouphie/getallheaders)
|
||
|
|
||
|
|
||
|
This is a simple polyfill for [`getallheaders()`](http://www.php.net/manual/en/function.getallheaders.php).
|
||
|
|
||
|
## Install
|
||
|
|
||
|
For PHP version **`>= 5.6`**:
|
||
|
|
||
|
```
|
||
|
composer require ralouphie/getallheaders
|
||
|
```
|
||
|
|
||
|
For PHP version **`< 5.6`**:
|
||
|
|
||
|
```
|
||
|
composer require ralouphie/getallheaders "^2"
|
||
|
```
|