Universeorange.com/Docs/

R3m/framework Function reference array.next

{array.next(String $selector)}

{array.next()} — Advance the internal pointer of an array

{array.next()} behaves like {array.current()}, with one difference.
It advances the internal array pointer one place forward before returning the element value.
That means it returns the next array value and advances the internal array pointer by one.

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

More information:

https://www.php.net/manual/en/function.next.php

Last modified: 2021-06-07

© 2021 universeorange.com