← All docs

mb_language()

Reads or changes the current mbstring language.

mb_language()

function mb_language(?string $language = null): string|bool

Reads or changes the current mbstring language.

Parameters:

  • $language (?string), default null, optional

Returns: string|bool

Availability

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

Internals

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