Pascal is correct. each() can still be used however it is not advised as it is likely to be removed in the next major version. Deprecated does not mean you cannot use it anymore, it's merely 'marked' as to be removed in the future.
Cette nouvelle version mineure apporte un certain nombre de nouvelles fonctionnalités et quelques incompatibilités qui devraient être testées avant de changer les versions PHP dans les environnements de production.
Voir aussi les guides de migration entre les différentes versions de PHP 7.0.x et 7.1.x.
Pascal is correct. each() can still be used however it is not advised as it is likely to be removed in the next major version. Deprecated does not mean you cannot use it anymore, it's merely 'marked' as to be removed in the future.
each() function has been deprecated. So, it cannot be used in PHP 7.2, instead use foreach() function.