-
Notifications
You must be signed in to change notification settings - Fork 108
Expand file tree
/
Copy pathother-changes.xml
More file actions
128 lines (112 loc) · 3.84 KB
/
other-changes.xml
File metadata and controls
128 lines (112 loc) · 3.84 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<!-- EN-Revision: 87b582706267d69006a8aaaed3b5eda2ccf99c92 Maintainer: daijie Status: ready -->
<!-- CREDITS: mowangjuanzi -->
<sect1 xml:id="migration72.other-changes" xmlns:xlink="http://www.w3.org/1999/xlink">
<title>其他变更</title>
<sect2 xml:id="migration72.other-changes.utf8_-functions-to-ext-standard">
<title>移动 <function>utf8_encode</function> 和 <function>utf8_decode</function></title>
<para>
<function>utf8_encode</function> 和 <function>utf8_decode</function> 现在已经作为字符串处理函数移到标准扩展中,
在此之前需要启用 <link linkend="book.xml">XML</link> 扩展才能使用。
</para>
</sect2>
<sect2 xml:id="migration72.other-changes.mail">
<title><function>mail</function> 和 <function>mb_send_mail</function> 的变更</title>
<para>
<function>mail</function> 和
<function>mb_send_mail</function> 函数中的 $additional_headers 参数变更为 <type>array</type>,此前为
<type>string</type>。
</para>
</sect2>
<sect2 xml:id="migration72.other-changes.lmdb-support">
<title>支持 LMDB</title>
<para>
<link linkend="book.dba">DBA</link> 扩展现在已经支持 LMDB。
</para>
</sect2>
<sect2 xml:id="migration72.other-changes.build-system">
<title>PHP 构建系统的变更</title>
<itemizedlist>
<listitem>
<simpara>
Unix: 构建 PHP 需要 Autoconf 2.64 或更高的版本。
</simpara>
</listitem>
<listitem>
<simpara>
Unix: <literal>--with-pdo-oci</literal>
配置选项不再需要指定 Oracle Instant Client 的版本号数字。
</simpara>
</listitem>
<listitem>
<simpara>
Unix: 移除了 <literal>--enable-gd-native-ttf</literal>
配置参数。自 PHP 5.5.0 以来就已经不再使用。
</simpara>
</listitem>
<listitem>
<simpara>
Windows: 添加了 <literal>--with-config-profile</literal> 配置参数。
可用于保存细节配置,就像是神奇的
<filename>config.nice.bat</filename> 文件。
</simpara>
</listitem>
</itemizedlist>
</sect2>
<sect2 xml:id="migration72.other-changes.image">
<title><link linkend="book.image">GD</link>的变更</title>
<itemizedlist>
<listitem>
<simpara>
当编译时使用了系统的 libgd,<function>imageantialias</function>
也能生效。
</simpara>
</listitem>
<listitem>
<simpara>
<function>imagegd</function>
以真彩色储存真彩色图像。在此之前,会转化为调色板图像。
</simpara>
</listitem>
</itemizedlist>
</sect2>
<sect2 xml:id="migration72.other-changes.mcrypt">
<title>移动 <link linkend="book.mcrypt">MCrypt</link> 到 PECL</title>
<para>
<link linkend="book.mcrypt">MCrypt</link> 扩展从内核移动到 PECL。
考虑到 mcrypt 库自 2007 年以来未见任何更新,不再建议使用。
代替品即可以用
<link linkend="book.openssl">OpenSSL</link>,也可以用
<link linkend="book.sodium">Sodium</link>。
</para>
</sect2>
<sect2 xml:id="migration72.other-changes.session-module-name">
<title><function>session_module_name</function></title>
<para>
传递给 <function>session_module_name</function> 函数的模块名不允许为
<literal>"user"</literal>,将会抛出一个
<constant>E_RECOVERABLE_ERROR</constant>,之前版本会忽略这个问题。
</para>
</sect2>
</sect1>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->