Example #1
0
 public function testFill()
 {
     $array = ['test1', 'test2'];
     $a = new ArrayObject($array);
     $a->fill(2, 2, 'value');
     @($array = array_fill(2, 2, 'value'));
     $this->assertSame($array, $a->val());
 }