Issue Bug Closed

#27530[TASK] Cleanup unnecessary calls to reset() or current()

Christian Kuhn 06/18/11, 13:04 updated 06/01/13, 14:43

Description

It’s a myth that calling reset() before looping with foreach()
makes any difference. And also calling reset() before fetching
the first element with current() afterwards is somewhat
redundant.

Reviews 1