They are the same. A for-loop is "translated" into an each-loop.

T.