iih, og så målte jeg forkert ! Det var faktisk foreach der var hurtigst
<?php
header('Content-Type: text/plain');
$array = array();
for($i=1; $i<200; $i+=1.7)$array[$i] = rand(34,8653);
$time = microtime(1);
reset($array);
while(list($key, $value) = each($array)){}
echo microtime(1)-$time."\\n";
$time = microtime(1);
foreach($array as $key => $value){}
echo microtime(1)-$time."\\n";
$time = microtime(1);
reset($array);
while(list($key, $value) = each($array)){}
echo microtime(1)-$time."\\n";
$time = microtime(1);
foreach($array as $key => $value){}
echo microtime(1)-$time."\\n";
$time = microtime(1);
reset($array);
while(list($key, $value) = each($array)){}
echo microtime(1)-$time."\\n";
$time = microtime(1);
foreach($array as $key => $value){}
echo microtime(1)-$time."\\n";
$time = microtime(1);
reset($array);
while(list($key, $value) = each($array)){}
echo microtime(1)-$time."\\n";
$time = microtime(1);
foreach($array as $key => $value){}
echo microtime(1)-$time."\\n";
$time = microtime(1);
reset($array);
while(list($key, $value) = each($array)){}
echo microtime(1)-$time."\\n";
$time = microtime(1);
foreach($array as $key => $value){}
echo microtime(1)-$time."\\n";
$time = microtime(1);
reset($array);
while(list($key, $value) = each($array)){}
echo microtime(1)-$time."\\n";
$time = microtime(1);
foreach($array as $key => $value){}
echo microtime(1)-$time."\\n";
print_r($array);