Concept Flow - Iterator interface implementation
Create Iterator Object
Call rewind() to start
Check valid()
Get current()
Get key()
Move next()
↩Back to Check valid()
This flow shows how PHP's Iterator interface methods control looping: start with rewind(), then check valid(), get current() and key(), move next(), repeat until valid() is false.