original_string: protected function fequiv_mb_ucfirst($string, $encoding = 'utf8')
      {
          return mb_strtoupper(mb_substr($string, 0, 1, $encoding), $encoding).mb_substr($string, 1, mb_strlen($string, $encoding) - 1, $encoding);
      }
code: protected function fequiv_mb_ucfirst($string, $encoding = 'utf8')
      {
          return mb_strtoupper(mb_substr($string, 0, 1, $encoding), $encoding).mb_substr($string, 1, mb_strlen($string, $encoding) - 1, $encoding);
      }
code_tokens: protected function fequiv_mb_ucfirst ( $ string , $ encoding = 'utf8' ) { return mb_strtoupper ( mb_substr ( $ string , 0 , 1 , $ encoding ) , $ encoding ) . mb_substr ( $ string , 1 , mb_strlen ( $ string , $ encoding ) - 1 , $ encoding ) ; }
docstring: Equivalent function to ucfirst with mbstring usage.
  
  @param  string $string   Input string.
  @param  string $encoding Encoding.
  @return Transformed output string.
docstring_tokens: Equivalent function to ucfirst with mbstring usage .