Exemplo n.º 1
0
 public function testOffsetSetReplace()
 {
     $list = new TList(array(1, 2, 3));
     $list->offsetSet(1, 4);
     self::assertEquals(array(1, 4, 3), $list->toArray());
 }