fork(1) download
  1. <?php
  2.  
  3. $string = "Привет";
  4. $first = mb_strtoupper(substr($string, 0, 1, 'utf-8'));
  5. $string[0] = $first;
  6. echo $string;
Success #stdin #stdout #stderr 0.02s 52432KB
stdin
Standard input is empty
stdout
�ривет
stderr
PHP Warning:  substr() expects at most 3 parameters, 4 given in /home/vCgsJT/prog.php on line 5