← All docs

mb_encoding_aliases()

Lists the public aliases of an encoding in PHP order.

mb_encoding_aliases()

function mb_encoding_aliases(string $encoding): array

Lists the public aliases of an encoding in PHP order.

Parameters:

  • $encoding (string)

Returns: array

Availability

No examples yet. Check examples/ and showcases/ for usage patterns.

Internals

For how mb_encoding_aliases is implemented in the compiler, see the internals page.