PHP Velho Oeste 2024

PHP 7.1.x 中废弃的特性

ext/mcrypt

mcrypt 扩展已经过时了大约 10 年,并且用起来很复杂。因此它被废弃并且被 OpenSSL 所取代。从 PHP 7.2 起它将被从核心代码中移除并且移到 PECL 中。

mb_ereg_replace()mb_eregi_replace() 的 Eval 选项

对于 mb_ereg_replace()mb_eregi_replace()e 模式修饰符现在已被废弃。

add a note add a note

User Contributed Notes 1 note

up
-13
Petro Shpyhotskyi
4 years ago
Extention mcrypt is deprecated in 7.1 and removed in 7.2.
To Top