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

Oliver Hader oliver at typo3.org
Sun Jan 11 02:56:44 CET 2009


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


olly
-- 
Oliver Hader
TYPO3 4.3 Release Manager
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 00010094.patch
Type: text/x-diff
Size: 11340 bytes
Desc: not available
Url : http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20090111/3dfabc5a/attachment-0001.patch 


More information about the TYPO3-team-core mailing list