<?PHP $array = array ( 'PHP', 'ASP', 'Perl' ); for ( $x = 0; $x < 3; $x++ ) { echo pos ( $array ) . '<br>'; next ( $array ); } ?>
PHP ASP Perl