← All docs
mb_preferred_mime_name()
Returns the preferred MIME encoding name, or false when none is registered.
mb_preferred_mime_name()
function mb_preferred_mime_name(string $encoding): string|false
Returns the preferred MIME encoding name, or false when none is registered.
Parameters:
$encoding(string)
Returns: string|false
Availability
- Compiled (AOT): supported by the Elephc code generator.
eval()(magician interpreter): supported through a declarative interpreter builtin (crates/elephc-magician/src/interpreter/builtins/string/mb_preferred_mime_name.rs).
No examples yet. Check examples/ and showcases/ for usage patterns.
Internals
For how mb_preferred_mime_name is implemented in the compiler, see the internals page.