[TYPO3-core] RFC: Bug #10094: Use foreach instead of while-list-each constructs in t3lib_TCEmain

Susanne Moog typo3 at susannemoog.de
Sun Jan 11 13:53:53 CET 2009


Oliver Hader schrieb:
> This is a SVN patch request.
> 
> Problem:
> In t3lib_TCEmain there are a lot of while(list(...)=each(...)) loops
> that should be replaced by foreach loops.
> 
> Solution:
> Use foreach loops...
> 
> Comments:
> The patch just changes the loops, remove superfluous global()
> definitions and code that could be written easier in this context.
> 
> Bugtracker references:
> http://bugs.typo3.org/view.php?id=10094
> 
> Branch: Trunk

+1 by reading and testing.


Susanne


More information about the TYPO3-team-core mailing list