Пример #1
0
 public function testJoin()
 {
     $arr = array('red', 'green', 'blue');
     $str = MString::join($arr, new MString('一二三四五'));
     $expected = 'red一二三四五green一二三四五blue';
     $this->assertEquals($expected, \strval($str));
 }