Миграция с PHP 7.1.x на PHP 7.2.x

Содержание

Эта обновлённая версия приносит с собой ряд новых возможностей и несколько несовместимостей, которые должны быть проверены до смены версии в производственной среде.

Смотрите также руководство по миграции для версий 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 и 7.1.x.

add a note add a note

User Contributed Notes 3 notes

up
4
Siguy
17 days ago
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.
up
3
Pascal
30 days ago
each() can still be used with php 7.2 as it is deprecated only.
up
-5
arorakartik4 at gmail dot com
2 months ago
each() function has been deprecated. So, it cannot be used in PHP 7.2, instead use foreach() function.
To Top