Beispiel #1
0
 public function test_uniq_1()
 {
     $arr = array(1, 1, 2, 3, 3, 2, 1, 1, 1);
     Enumerator::uniq_($arr);
     $this->assertEquals(array(0 => 1, 2 => 2, 3 => 3), $arr);
 }