Menu Riverview Church

NEXT

Advance the internal pointer of an array

SYNTAX

next ( array &$array ) : mixed

PARAMETERS

array

The array being affected.

RETURN

Returns the array value in the next place that's pointed to by the internal array pointer, or FALSE if there are no more elements.

EXAMPLES

foot
bike
car
plane

INTERNAL

current

end

prev

reset

EXTERNAL

PHP