[TYPO3-core] RFC #0011512: replace while(list()...) by foreach in the TYPO3 core part 1

Franz Koch typo.removeformessage at fx-graefix.de
Tue Jul 14 03:05:40 CEST 2009


Hi,

> variant 4
> - reset($inArray);
> - while(list($fN,$fV)=each($inArray)) {
> + foreach ($inArray as $fN => $v) {
                                -----

there seems to be a bug. It has to be $fN => $fV (line 90 in the 
patchfile). But I haven't checked of $fV is used in that function as I 
only had a look at the patch.

-- 
kind regards,
Franz Koch

---------------------------------------------------
PayPal-Account: 'paypal _at_ elements-net _dot_ de'
---------------------------------------------------


More information about the TYPO3-team-core mailing list