views:

101

answers:

2

Please explain with a tiny demo

+4  A: 

Here is a great demo showing exactly what to do: http://www.php.net/manual/en/class.iterator.php

thetaiko
+5  A: 

Now before you ask this question for each and every available interface, go through:

Gordon