$end = count($foo); for ($i = 0; $i < $end; $i++) { echo $foo[$i]."\n"; } ]]>
count($foo); $i++) { echo $foo[$i]."\n"; } ]]>