current() public method

Defined by Iterator interface
public current ( ) : mixed
return mixed
 public function testZF6995_toArrayDoesNotDisturbInternalIterator()
 {
     $config = new Zend_Config(range(1, 10));
     $config->rewind();
     $this->assertEquals(1, $config->current());
     $config->toArray();
     $this->assertEquals(1, $config->current());
 }