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.
This new minor version brings with it a number of new features and a few incompatibilities that should be tested for before switching PHP versions in production environments.
Accesați de asemenea ghidurile de migrare pentru versiunile PHP 5.0.x, 5.1.x, 5.2.x, 5.3.x, 5.4.x, 5.5.x, 5.6.x, 7.0.x and 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.