← All docs
iconv_mime_decode_headers()
Decodes a block of MIME header fields into an associative array.
iconv_mime_decode_headers()
function iconv_mime_decode_headers(string $headers, int $mode = 0, ?string $encoding = null): mixed
Decodes a block of MIME header fields into an associative array.
Parameters:
$headers(string)$mode(int), default0, optional$encoding(?string), defaultnull, optional
Returns: mixed
Availability
| Compiled (AOT) | Magician (eval) |
|---|---|
| Available | Available |
No examples yet. Check examples/ and showcases/ for usage patterns.
Internals
For how iconv_mime_decode_headers is implemented in the compiler, see the internals page.