Registry / utility / ralouphie-getallheaders

ralouphie-getallheaders

JSON →
library3.0.3phppackagistunverified

A polyfill for the getallheaders function.

composer require ralouphie/getallheaders
INSTALL
IMPORT
SIG · RALOUPHIE-GETALLHE
R
ralouphie-getallheaders
utilityphpv3.0.3
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

getallheaders
use getallheaders;

Retrieve all HTTP headers from the current request.

<?php require 'vendor/autoload.php'; $headers = getallheaders(); foreach ($headers as $name => $value) { echo "$name: $value\n"; }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
3.0.3latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
10 hits · last 30 days
node
10
Resources
ralouphie-getallheaders — pip install ralouphie-getallheaders · libregistry