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 中废弃的特性', ), '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', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
mcrypt 扩展已经过时了大约 10 年,并且用起来很复杂。因此它被废弃并且被 OpenSSL 所取代。从 PHP 7.2 起它将被从核心代码中移除并且移到 PECL 中。
对于 mb_ereg_replace() 和 mb_eregi_replace() 的
e
模式修饰符现在已被废弃。