PHPize Online / SQLize Online  /  SQLtest Online

A A A
Share      Blog   Popular
Copy Format Clear
Copy Clear
Copy Format Clear
<?php $name = "Иванов Сергей Иванович"; $arr = explode(" ", $name); $arr[0] = mb_strtoupper($arr[0]); $name = implode(" ", $arr); echo $name; $name = mb_convert_case($name, MB_CASE_TITLE, "UTF-8"); echo $name;
Show:  
Copy Clear