← All docs

mb_list_encodings()

Lists every supported canonical encoding in PHP order.

mb_list_encodings()

function mb_list_encodings(): array

Lists every supported canonical encoding in PHP order.

Parameters: none.

Returns: array

Availability

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

Internals

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