PHP Velho Oeste 2024

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

Содержание

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

Смотрите также руководство по миграции для версий PHP 7.0.x и 7.1.x.

add a note add a note

User Contributed Notes 3 notes

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