<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/migration71.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'zh',
  ),
  'this' => 
  array (
    0 => 'migration71.deprecated.php',
    1 => 'PHP 7.1.x 中废弃的特性',
    2 => 'PHP 7.1.x 中废弃的特性',
  ),
  'up' => 
  array (
    0 => 'migration71.php',
    1 => '从 PHP 7.0.x 移植到 PHP 7.1.x',
  ),
  'prev' => 
  array (
    0 => 'migration71.incompatible.php',
    1 => '不向后兼容的变更',
  ),
  'next' => 
  array (
    0 => 'migration71.changed-functions.php',
    1 => '变动的函数',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'zh',
    'path' => 'appendices/migration71/deprecated.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="migration71.deprecated" class="sect1">
 <h2 class="title">PHP 7.1.x 中废弃的特性</h2>

 <div class="sect2" id="migration71.deprecated.ext-mcrypt">
  <h3 class="title">ext/mcrypt</h3>

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

 <div class="sect2" id="migration71.deprecated.eval-option-for-mb-ereg-replace">
  <h3 class="title"><span class="function"><a href="function.mb-ereg-replace.php" class="function">mb_ereg_replace()</a></span> 和 <span class="function"><a href="function.mb-eregi-replace.php" class="function">mb_eregi_replace()</a></span> 的 Eval 选项</h3>

  <p class="para">
   对于 <span class="function"><a href="function.mb-ereg-replace.php" class="function">mb_ereg_replace()</a></span> 和 <span class="function"><a href="function.mb-eregi-replace.php" class="function">mb_eregi_replace()</a></span> 的
   <code class="literal">e</code> 模式修饰符现在已被废弃。
  </p>
 </div>
</div><?php manual_footer($setup); ?>