---
title: Getallheaders
url: 'https://brendo.org/wp-content/plugins/two-factor-provider-webauthn/vendor/ralouphie/getallheaders'
markdown: 'https://brendo.org/wp-content/plugins/two-factor-provider-webauthn/vendor/ralouphie/getallheaders.md'
date: '2026-04-06'
description: 'getallheaders PHP getallheaders() polyfill. Compatible with PHP >= 5.3. This is a simple polyfill for getallheaders(). Install For PHP version >= 5.6: composer require ralouphie/getallheaders For PHP version < 5.6: composer require ralouphie/getallheaders "^2"'
---

# getallheaders

PHP `getallheaders()` polyfill. Compatible with PHP >= 5.3.

[![Build Status](https://travis-ci.org/ralouphie/getallheaders.svg?branch=master)](https://travis-ci.org/ralouphie/getallheaders)[![Coverage Status](https://coveralls.io/repos/ralouphie/getallheaders/badge.png?branch=master)](https://coveralls.io/r/ralouphie/getallheaders?branch=master)[![Latest Stable Version](https://poser.pugx.org/ralouphie/getallheaders/v/stable.png)](https://packagist.org/packages/ralouphie/getallheaders)[![Latest Unstable Version](https://poser.pugx.org/ralouphie/getallheaders/v/unstable.png)](https://packagist.org/packages/ralouphie/getallheaders)[![License](https://poser.pugx.org/ralouphie/getallheaders/license.png)](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"
```
