← All docs

mb_strtoupper()

Converts every character to its Unicode uppercase mapping.

mb_strtoupper()

function mb_strtoupper(string $string, ?string $encoding = null): string

Converts every character to its Unicode uppercase mapping.

Parameters:

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

Returns: string

Availability

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

Internals

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