hmm, im not sure there is... the only way i could think of doing it would be to return false as soon as i found something that wasnt 0, so
foreach($array as $a) {
if($a != 0)
return false;
}
why dont you want to traverse the array ? I dont think speed would be an issue... :queasy: