PHP 8.5.0 Beta 1 available for testing

Voting

: five plus one?
(Example: nine)

The Note You're Voting On

michaelmcandrew at thirdsectordesign dot org
5 years ago
A simple approach to dealing with case insenstive headers (as per RFC2616) is via the built in array_change_key_case() function:

$headers = array_change_key_case(getallheaders(), CASE_LOWER);

<< Back to user notes page

To Top