Issue #2885309 by vaplas, drewklein, pk188, alexpott, Ayesh, arunkumark, andypost, klausi, xjm, mondrake: [PHP 7.2] each() function is deprecated