<?php $str = array("aaa","bbb","ccc");
$i = 0; do { echo "$str[$i]\n"; $i++; } while ( $i < count($str) ) ?>