Menu Samaritan's Purse

PREV

Rewind the internal array pointer

SYNTAX

prev ( array &$array ) : mixed

PARAMETERS

array

The input array.

RETURN

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.

EXAMPLES

plane
car
bike
foot

INTERNAL

current

end

next

reset

EXTERNAL

PHP