<?php$people = array("Peter", "Joe", "Glenn", "Cleveland");echo current($people) . "<br>"; // The current element is Peterecho next($people) . "<br>"; // The next element of Peter is Joeecho current($people) . "<br>"; // Now the current element is Joeecho prev($people) . "<br>"; // The previous element of Joe is Peterecho end($people) . "<br>"; // The last element is Clevelandecho prev($people) . "<br>"; // The previous element of Cleveland is Glennecho current($people) . "<br>"; // Now the current element is Glennecho reset($people) . "<br>"; // Moves the internal pointer to the first element of the array, which is Peterecho next($people) . "<br>" . "<br>"; // The next element of Peter is Joeprint_r (each($people)); // Returns the key and value of the current element (now Joe), and moves the internal pointer forward?>