protected function randomChinese()
    {
        if ( function_exists('mb_substr') )
        {
            $len = mb_strlen($this->chineseCharacters, 'utf-8');

            for ($i = 0; $i < $this->length; $i++)
            {
                $this->code .= mb_substr($this->chineseCharacters, mt_rand(0, $len - 1), 1, 'utf-8');
            }
        }
    }
protected function randomChinese()
    {
        if ( function_exists('mb_substr') )
        {
            $len = mb_strlen($this->chineseCharacters, 'utf-8');

            for ($i = 0; $i < $this->length; $i++)
            {
                $this->code .= mb_substr($this->chineseCharacters, mt_rand(0, $len - 1), 1, 'utf-8');
            }
        }
    }
protected function randomChinese ( ) { if ( function_exists ( 'mb_substr' ) ) { $ len = mb_strlen ( $ this -> chineseCharacters , 'utf-8' ) ; for ( $ i = 0 ; $ i < $ this -> length ; $ i ++ ) { $ this -> code .= mb_substr ( $ this -> chineseCharacters , mt_rand ( 0 , $ len - 1 ) , 1 , 'utf-8' ) ; } } }
Random generation chinese characters

@return void
Random generation chinese characters