[TYPO3-dev] FYI: comparing execution speed of some php functions

Martin Kutschker masi-no at spam-typo3.org
Fri Jun 26 17:42:55 CEST 2009


Rupert Germann schrieb:
> 
> using count() means: 
> for ($i = 1; $i < count($myarr); ++ $i) {...

I suggest this style :)

$c = count($myarr);
for ($i = 1; $i < $c; ++ $i) {...

Masi




More information about the TYPO3-dev mailing list