The reset() function used for set the internal pointer to the first element of the array.
Syntax
reset(array)
Example
$array = array("ram", "shyam", "ravi");
echo reset($array);
Output
ram
Coderraj is the global online platform and circle for programmers to learn, communicate, share their knowledge and growth their careers.
Copyright ©2022 coderraj.com. All Rights Reserved.