$fruits = array("apple", "orange", "banana");
print_r($fruits);
$fruit = current($fruits); // returns "apple"
echo "Fruit: $fruit
";
$fruit = next($fruits); // returns "orange"
echo "Fruit: $fruit
";
$fruit = prev($fruits); // returns "apple"
echo "Fruit: $fruit
";
?>