DevHeads.net

- Refactor each() function to foreach()

You can view the Pull Request on github:
<a href="https://github.com/php/web-php/pull/253" title="https://github.com/php/web-php/pull/253">https://github.com/php/web-php/pull/253</a>

Opened By: petk
Pull Request Description:
The `each()` function has been deprecated since PHP 7.2 and shouldn't be used anymore:
- <a href="http://php.net/manual/en/function.each.php" title="http://php.net/manual/en/function.each.php">http://php.net/manual/en/function.each.php</a>