コード例 #1
0
ファイル: StringTest.class.php プロジェクト: johannes85/core
 public function replace()
 {
     $str = new String('www.müller.com');
     $this->assertEquals(new String('müller'), $str->replace('www.')->replace('.com'));
     $this->assertEquals(new String('muller'), $str->replace('ü', 'u'));
 }