mb_strtoupper()
function mb_strtoupper(string $string, ?string $encoding = null): string
Converts every character to its Unicode uppercase mapping.
Parameters:
$string(string)$encoding(?string), defaultnull, optional
Returns: string
Availability
- Compiled (AOT): supported by the Elephc code generator.
eval()(magician interpreter): supported through a declarative interpreter builtin (crates/elephc-magician/src/interpreter/builtins/string/mb_strtoupper.rs).
No examples yet. Check examples/ and showcases/ for usage patterns.
Internals
For how mb_strtoupper is implemented in the compiler, see the internals page.