ralouphie/getallheaders

repository·develop·Indexed 26 days ago

https://github.com/ralouphie/getallheaders

A polyfill for the PHP getallheaders() function that allows retrieval of all HTTP request headers as an associative array in environments where the native function is unavailable. Compatible with PHP versions 5.3 and higher.

Tokens
116
Snippets
0
Records
2
Agent score
37%

What's inside getallheaders

  1. Overview of getallheaders polyfill

    develop
    The getallheaders package provides a polyfill for the PHP getallheaders() function. This is useful in environments where the native function is unavailable, allowing you to retrieve all HTTP request headers as an associative array. It is compatible with PHP versions 5.3 and higher.