PHP Array Looper with For and Explore

Array Looper with For and Explore

<?
$a = "htm html txt wav au mid gif jpg jpeg png css swf";
$b = explode(" ",$a);
for($i=0 ;$i<=count($b); $i++) echo $b[$i];
?>