Actions
Bug #27530
closed[TASK] Cleanup unnecessary calls to reset() or current()
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Miscellaneous
Target version:
-
Start date:
2011-06-18
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
4.6
PHP Version:
5.3
Tags:
Complexity:
Is Regression:
Sprint Focus:
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.
Actions