In PHP we have the for and foreach loops, which are both handy, but there is
a case where a 3rd type of for loop would be handy: Iterators.
With 5.5 it became super easy to use Iterators, by simple creating a Generator. While
working on my itertools port to PHP (here), I found a situation where both the for and foreach constructs fell short.
I had created counter Generator which just creates an Iterator that starts at a given number and counts indefinitely. Then, I wanted to create a version of range which used an Iterator. Now, I could do this with a few for loops like in the PHP docs, but I wanted to use my new fancy counter function, so I started with a for loop: