mixed next ( array &$array_variable )
next function does two tasks:
- It moves the array’s internal pointer to the next element in the array, i.e. increments it one position.
- Then it returns the element’s value at the new position.
If the internal pointer is not pointing a valid element (it’s out-of-bounds), then false is returned.
Show It in ActionBasic
In this video, you will see the
next function in action through various code examples.
When was the last time you got out of your chair and stretched? Just saying…
In this video, you will go deeper into the instruction. Let’s take a deep look at the