PHP next() functionThe PHP next( ) function is used to advance the internal array pointer. It advances the internal array pointer one place forward before returning the element value. This function was introduced in PHP 4.0. SyntaxParameter
ReturnsThe PHP next( ) function returns the value of the next element in the array on success or false if there are no more elements. Example 1Output: T Example 2Output: java c Example 3Output: java c os Example 4Output: youtube fb youtube fb
Next TopicPHP Array Functions
|