PHP 7.1.18 Released

从PHP 7.1.x 移植到 PHP 7.2.x

Table of Contents

这个新的小版本带来了大量的 新特性少量的兼容性调整 在生产环境切换 PHP 版本前应该进行相关测试。

参见 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.

add a note add a note

User Contributed Notes 3 notes

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