Bug #22194
closedPerformance optimization: change while(list() to foreach()
0%
Description
foreach($arr as $key=>$value) is faster than while (list($key, $value)=each($arr)) so it should be changed
(issue imported from #M13670)
Files
Updated by Benni Mack over 14 years ago
Georg, great patch. Could you please update it so it works with the current trunk again?
Thanks.
Updated by Steffen Gebert over 14 years ago
Updated patch attached and in core list
Updated by Ernesto Baschny over 14 years ago
Commited the latest (13670_v5-general.diff ) split up to trunk:
rev. 7592 = t3lib/
rev. 7593 = typo3/
rev. 7594 = typo3/mod/tools/em/
rev. 7595 = typo3/sysext/tstemplate_objbrowser/
rev. 7596 = typo3/sysext/belog/
rev. 7597 = typo3/sysext/lowlevel/
rev. 7598 = typo3/sysext/wizard_crpages/
rev. 7599 = typo3/sysext/statictemplates/
rev. 7600 = typo3/sysext/lang/
rev. 7601 = typo3/sysext/cms/
rev. 7602 = typo3/sysext/version/
rev. 7603 = typo3/sysext/wizard_sortpages/
rev. 7604 = typo3/sysext/impexp/
rev. 7605 = typo3/sysext/indexed_search/
rev. 7606 = typo3/sysext/rtehtmlarea/
rev. 7607 = typo3/sysext/extra_page_cm_options/
rev. 7608 = typo3/sysext/sys_action/