public function testSpecialCharacters() { $source = '特殊字元~!@#$%^&*()_+{}|:"<>?-=[]\\;\',./'; $expect = 'teshu-zihyuan------------_-------------------'; $output = Pinyin::slug($source); $this->assertSame($expect, $output); }