prev
Rewind the internal array pointer
Description
mixedprev
arrayarray
Returns the array value in the previous place that's pointed to by
the internal array pointer, or &false; if there are no more
elements.
&return.falseproblem;
You won't be able to distinguish the beginning of an array from a
boolean &false; element. To properly traverse an array
which may contain &false; elements, see the each
function.
prev behaves just like
next, except it rewinds the internal array
pointer one place instead of advancing it.
Example use of prev and friends
]]>
See also current, end,
next, reset,
and each.