* Optimize convert2Pinyin, and cache executions for bug browse.
This commit is contained in:
@@ -2869,11 +2869,14 @@ EOF;
|
||||
$itemsPinYin = explode(trim($sign), $convertedPinYin);
|
||||
foreach($notConvertedItems as $item)
|
||||
{
|
||||
$itemPinYin = array_shift($itemsPinYin);
|
||||
$key = key($itemsPinYin);
|
||||
$itemPinYin = $itemsPinYin[$key];
|
||||
unset($itemsPinYin[$key]);
|
||||
|
||||
$wordsPinYin = explode("\t", trim($itemPinYin));
|
||||
|
||||
$abbr = '';
|
||||
foreach($wordsPinYin as $i => $wordPinyin)
|
||||
foreach($wordsPinYin as $wordPinyin)
|
||||
{
|
||||
if($wordPinyin)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user