The each() function returns the current element key and value, and moves the internal pointer forward.
Syntax:each(array)
In above syntax, "array" specifies the array to use.
<?php
$vehicle = array("Car", "Scooter", "Motorcycle", "Truck");
print_r (each($vehicle));
?>
Output:
Others
Languages
Frameworks
Web / Design
Mobile Technology
Sql & Technology
R4R