iconv_mime_decode()
function iconv_mime_decode(string $string, int $mode = 0, ?string $encoding = null): mixed
Decodes one MIME header field into the requested character encoding.
Parameters:
$string(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.rs).
No examples yet — check examples/ and showcases/ for usage patterns.
Internals
For how iconv_mime_decode is implemented in the compiler, see the internals page.