> For the complete documentation index, see [llms.txt](https://php7.shujuwajue.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://php7.shujuwajue.com/php-71x-xin-te-xing/fei-qi-de-te-xing.md).

# 补充\*废弃的特性

> 参考：[从PHP 7.0.x 移植到 PHP 7.1.x](https://php.net/manual/zh/migration71.php)

## 废弃的特性

### ext/mcrypt

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

### [mb\_ereg\_replace()](https://php.net/manual/zh/function.mb-ereg-replace.php)和[mb\_eregi\_replace()](https://php.net/manual/zh/function.mb-eregi-replace.php)的Eval选项

对于[mb\_ereg\_replace()](https://php.net/manual/zh/function.mb-ereg-replace.php)和[mb\_eregi\_replace()](https://php.net/manual/zh/function.mb-eregi-replace.php)的*e*模式修饰符现在已被废弃。
