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