Complete PHP Array Reference
The reset() function moves the internal pointer to the first element of the array.
This function returns the value of the first element in the array on success, or FALSE on failure.
| Parameter | Description |
|---|---|
| array | Required. Specifies the array to use |
The output of the code above will be:
Complete PHP Array Reference
Your message has been sent to W3Schools.