← All docs

mb_convert_case()

Converts case using one of the eight Unicode case modes.

mb_convert_case()

function mb_convert_case(string $string, int $mode, ?string $encoding = null): string

Converts case using one of the eight Unicode case modes.

Parameters:

  • $string (string)
  • $mode (int)
  • $encoding (?string), default null, optional

Returns: string

Availability

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

Internals

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