prev
(PHP 4, PHP 5, PHP 7)
prev — Rewind the internal array pointer
Description
mixed prev ( array &$array )
prev() behaves just like next(), except it rewinds the internal array pointer one place instead of advancing it.
Parameters
-
array
-
The input array.