string $myArray [] = {"one","two","three","four"};
int $i =0;
do
{
if ($myArray[$i] == "one")
print ("\n"+$myArray[$i] + " dead roach!");
else
print ("\n"+$myArray[$i] + " dead roaches!");
$i++; //do not forget this or Maya will get stuck in an infinite loop
}
while ( $i < size($myArray));