<?php mb_strtoupper(string $string, ?string $encoding = null): string
<?php private function getCommandClassName($name) { if (extension_loaded('mbstring')) { $name = mb_strtoupper(mb_substr($name, 0, 1)) . mb_substr($name, 1); } else { $name = strtoupper(substr($name, 0, 1)) . substr($name, 1); }