# 补充\*废弃的特性

> 参考：[从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*模式修饰符现在已被废弃。


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://php7.shujuwajue.com/php-71x-xin-te-xing/fei-qi-de-te-xing.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
