note 9730 added to for

From: Date: Tue, 21 Nov 2000 11:53:42 +0000
Subject: note 9730 added to for
Groups: php.notes 
Request: Send a blank email to php-notes+get-7945@lists.php.net to get a copy of this message
If you have a very big array it is much faster when you use this construct $i=0; $ii=count($ARRAY); for($i=0;$i<$ii;$i++){ [...] } instead of for($i=0;$i<count($ARRAY);$i++){ [...] } http://www.php.net/manual/control-structures.for.php

« previous php.notes (#7945) next »