All checks were successful
Build, Push and Deploy / build-and-push (push) Successful in 3m3s
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 16s
Build, Push and Deploy / deploy-staging (push) Successful in 32s
Build, Push and Deploy / deploy-production (push) Has been skipped
Build, Push and Deploy / cleanup (push) Successful in 1s
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"
|
|
```
|