Exemplo n.º 1
0
 public static function getPinyin($string)
 {
     $string = preg_replace('#^([0-9]+)#', '', $string);
     $pinyin = new self();
     return $pinyin->_getPinyin($string, 'utf8');
 }
Exemplo n.º 2
0
 public static function getPinyin($string)
 {
     $pinyin = new self();
     return $pinyin->_getPinyin($string, 'utf8');
 }