← 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

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.