each
each
(PHP 4, PHP 5, PHP 7)
each — Return the current key and value pair from an array and advance the array cursor
Warning
This function has been DEPRECATED as of PHP 7.2.0. Relying on this function is highly discouraged.
Description
array each ( array &$array )
Return the current key and value pair from an array and advance the array cursor.
After each() has executed, the array cursor will be left on the