php next () function syntax

php next () function syntax

Action: the internal pointer to the next element in the array, and output. Linear motor slider

Syntax: the Next (Array)

parameter:

parameter description
array essential. Specifies an array to be used.

Description: The internal pointer is moved forward before returning a value. This means that it returns the value of an array and a pointer to the next array element moved forward one. If the result of the movement of the pointer beyond the end of the array elements, the next () returns FALSE.

php next () function examples

<?php
$ People = array ( "Simon", "extinction", "wild");
echo next($people);
?>

Guess you like

Origin www.cnblogs.com/furuihua/p/11899129.html