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

Oliver Hader oliver at typo3.org
Fri Jan 16 22:56:58 CET 2009


FYI: Committed a follow-up to SVN Trunk (rev. 4735)

Comments:
A variable name had a typing error and was changed from "$$action[1]" to
"$action[1]".

ChangeSet:
http://forge.typo3.org/repositories/diff/typo3v4-core?rev=4735

olly


Oliver Hader schrieb:
> FYI: Committed to SVN Trunk (rev. 4689)
> 
> olly
> 
> 
> 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
>>
>>
>> olly


-- 
Oliver Hader
TYPO3 Release Manager 4.3


More information about the TYPO3-team-core mailing list