← 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): supported by the Elephc code generator.
eval()(magician interpreter): supported — declarative interpreter builtin (crates/elephc-magician/src/interpreter/builtins/string/iconv_mime_decode_headers.rs).
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.