$name = ‘тест’;
//$name = iconv(«UTF-8», «UTF-8», $name);
$first = mb_substr($name,0,1, ‘UTF-8’);//первая буква
$last = mb_substr($name,1);//все кроме первой буквы
$first = mb_strtoupper($first, ‘UTF-8’);
$last = mb_strtolower($last, ‘UTF-8’);
$name1 = $first.$last;
echo «$name1»;
результат: Тест
Как сделать первую букву заглавной php
This was both informative and hilarious! For more details, click here: LEARN MORE. What’s your take?
You have mentioned very interesting details!
ps decent site.Blog monry