Using each() function in conjunction with list()
<? $spices = array("A", "B", "C", "D", "E"); reset ($spices); while ( list ($key, $val) = each ($spices) ) : print "$val <br>"; endwhile; ?>