<?php mb_substr( string $string, int $start, ?int $length = null, ?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); }