File tree Expand file tree Collapse file tree 8 files changed +62
-41
lines changed
reflection/reflectionmethod Expand file tree Collapse file tree 8 files changed +62
-41
lines changed Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" utf-8" ?>
2
2
<!-- $Revision$ -->
3
- <!-- EN-Revision: ec2fe9a592f794978114ef5021db9f1d00c2e05d Maintainer: 谢毅斌 Status: ready -->
4
- <!-- CREDITS: mowangjuanzi -->
3
+ <!-- EN-Revision: 790f63af6521908477b285ff753e454e118bb989 Maintainer: 谢毅斌 Status: ready -->
4
+ <!-- CREDITS: mowangjuanzi, Luffy -->
5
5
<refentry xml : id =" reflectionmethod.construct" xmlns =" http://docbook.org/ns/docbook" xmlns : xlink =" http://www.w3.org/1999/xlink" >
6
6
<refnamediv >
7
7
<refname >ReflectionMethod::__construct</refname >
20
20
<modifier >public</modifier > <methodname >ReflectionMethod::__construct</methodname >
21
21
<methodparam ><type >string</type ><parameter >classMethod</parameter ></methodparam >
22
22
</constructorsynopsis >
23
+ <warning >
24
+ <simpara >
25
+ 从 PHP 8.4.0 开始,替代签名已被弃用,请使用
26
+ <methodname >ReflectionMethod::createFromMethodName</methodname > 代替。
27
+ </simpara >
28
+ </warning >
23
29
<para >
24
30
构造新的 <classname >ReflectionMethod</classname >。
25
31
</para >
Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" utf-8" ?>
2
2
<!-- $Revision$ -->
3
- <!-- EN-Revision: be3a4367c932abe7cc2d1297f9c983daad1c204f Maintainer: HonestQiao Status: ready -->
3
+ <!-- EN-Revision: 4841e3291543ae71e747f8448463c801b8a28e42 Maintainer: HonestQiao Status: ready -->
4
4
<!-- CREDITS: Luffy -->
5
5
<section xml : id =" session.configuration" xmlns =" http://docbook.org/ns/docbook" >
6
6
&reftitle.runtime;
160
160
<entry ><link linkend =" ini.session.sid-length" >session.sid_length</link ></entry >
161
161
<entry >"32"</entry >
162
162
<entry ><constant >INI_ALL</constant ></entry >
163
- <entry >自 PHP 7.1.0 起有效。</entry >
163
+ <entry >自 PHP 7.1.0 起有效。自 PHP 8.4.0 起已废弃。 </entry >
164
164
</row >
165
165
<row >
166
166
<entry ><link linkend =" ini.session.sid-bits-per-character" >session.sid_bits_per_character</link ></entry >
167
167
<entry >"4"</entry >
168
168
<entry ><constant >INI_ALL</constant ></entry >
169
- <entry >自 PHP 7.1.0 起有效。</entry >
169
+ <entry >自 PHP 7.1.0 起有效。自 PHP 8.4.0 起已废弃。 </entry >
170
170
</row >
171
171
<row >
172
172
<entry ><link linkend =" ini.session.upload-progress.enabled" >session.upload_progress.enabled</link ></entry >
Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" utf-8" ?>
2
2
<!-- $Revision$ -->
3
- <!-- EN-Revision: ccb379494533c9b7d63a81f0221231a9e526eee9 Maintainer: yuanyuqiang Status: ready -->
4
- <!-- CREDITS: mowangjuanzi -->
3
+ <!-- EN-Revision: 55e0481a24fd4d7db21b62f1885973edbca25e60 Maintainer: yuanyuqiang Status: ready -->
4
+ <!-- CREDITS: mowangjuanzi, Luffy -->
5
5
<chapter xml : id =" session.security" xmlns =" http://docbook.org/ns/docbook" xmlns : xlink =" http://www.w3.org/1999/xlink" >
6
6
<title >会话和安全</title >
7
7
<para >
710
710
</para >
711
711
</listitem >
712
712
713
- <listitem >
714
- <para >
715
- <link linkend =" ini.session.sid-length" >session.sid_length</link >="48"
716
- </para >
717
- <para >
718
- (PHP 7.1.0 及更高版本)更长的会话 ID 可以得到更高的安全强度。
719
- 建议开发者将会话 ID 的长度设置为不低于 32 个字符。
720
- 当 <link linkend =" ini.session.sid-bits-per-character" >session.sid_bits_per_character</link >="5" 时,
721
- 会话 ID 至少需要 26 个字符。
722
- </para >
723
- </listitem >
724
-
725
- <listitem >
726
- <para >
727
- <link linkend =" ini.session.sid-bits-per-character" >session.sid_bits_per_character</link >="6"
728
- </para >
729
- <para >
730
- (PHP 7.1.0 及更高版本)
731
- 即使会话 ID 的长度设定不变,
732
- 更高的会话 ID 比特位设置也会产生安全性更高的会话 ID。
733
- </para >
734
- </listitem >
735
-
736
713
<listitem >
737
714
<para >
738
715
<link linkend =" ini.session.hash-function" >session.hash_function</link >="sha256"
Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" utf-8" ?>
2
2
<!-- $Revision$ -->
3
- <!-- EN-Revision: e50e79746736dbdfbabe9bd3566793b3ddf38f58 Maintainer: songmeifeng Status: ready -->
3
+ <!-- EN-Revision: 0e097419a847a077c7d8a74ebc5237ba9d8ddc90 Maintainer: songmeifeng Status: ready -->
4
4
<!-- CREDITS: Luffy -->
5
5
<refentry xml : id =" function.socket-create-listen" xmlns =" http://docbook.org/ns/docbook" >
6
6
<refnamediv >
69
69
</row >
70
70
</thead >
71
71
<tbody >
72
+ <row >
73
+ <entry >8.4.0</entry >
74
+ <entry >
75
+ 默认值现在是 <constant >SOMAXCONN</constant >。
76
+ 之前是 <literal >128</literal >。
77
+ </entry >
78
+ </row >
72
79
<row >
73
80
<entry >8.0.0</entry >
74
81
<entry >
Original file line number Diff line number Diff line change 1
1
<?xml version =' 1.0' encoding =' utf-8' ?>
2
2
<!-- $Revision$ -->
3
- <!-- EN-Revision: 60809ebcf7d0c261b2f00e093e4fab70326ffc7b Maintainer: Altair Status: ready -->
4
- <!-- CREDITS: mowangjuanzi -->
3
+ <!-- EN-Revision: afb063c84d5d707ae329cd94474eee42a6fa82ff Maintainer: Altair Status: ready -->
4
+ <!-- CREDITS: mowangjuanzi, Luffy -->
5
5
<refentry xml : id =" function.spl-autoload-call" xmlns =" http://docbook.org/ns/docbook" >
6
6
<refnamediv >
7
7
<refname >spl_autoload_call</refname >
14
14
<methodparam ><type >string</type ><parameter >class</parameter ></methodparam >
15
15
</methodsynopsis >
16
16
<para >
17
- 该函数可用于使用已注册的 __autoload 函数手动搜索类或接口 。
17
+ 此函数可以用来使用已注册的 __autoload() 函数手动搜索类、接口、trait 或枚举 。
18
18
</para >
19
19
</refsect1 >
20
20
Original file line number Diff line number Diff line change 1
1
<?xml version =' 1.0' encoding =' utf-8' ?>
2
2
<!-- $Revision$ -->
3
- <!-- EN-Revision: 450d2085da9bba991afb9c68d9c94fc06a67a8a7 Maintainer: Altair Status: ready -->
3
+ <!-- EN-Revision: 87ea6d1675fe601a5dddf4538a465c3af664cd10 Maintainer: Altair Status: ready -->
4
4
<!-- CREDITS: mowangjuanzi, Luffy -->
5
5
<refentry xml : id =" function.spl-autoload" xmlns =" http://docbook.org/ns/docbook" >
6
6
<refnamediv >
29
29
<term ><parameter >class</parameter ></term >
30
30
<listitem >
31
31
<para >
32
- 已实例化的类(和命名空间)的名字。
32
+ 正在实例化的类的名称。
33
+ 在调用该函数时,将类名与命名空间一起传递给参数。
34
+ <parameter >class</parameter > 不包含完全限定标识符的前导反斜杠。
33
35
</para >
34
36
</listitem >
35
37
</varlistentry >
Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" utf-8" ?>
2
2
<!-- $Revision$ -->
3
- <!-- EN-Revision: 7aa6a0cc6631fc1c67a24e3ede9db849e420a4e5 Maintainer: zhoumengkang Status: ready -->
4
- <!-- CREDITS: her-cat -->
3
+ <!-- EN-Revision: d5859815063bb6d3a0953c773920ce7425cf912e Maintainer: zhoumengkang Status: ready -->
4
+ <!-- CREDITS: her-cat, Luffy -->
5
5
<refentry xml : id =" function.stream-context-set-option" xmlns =" http://docbook.org/ns/docbook" >
6
6
<refnamediv >
7
7
<refname >stream_context_set_option</refname >
17
17
<methodparam ><type >string</type ><parameter >option</parameter ></methodparam >
18
18
<methodparam ><type >mixed</type ><parameter >value</parameter ></methodparam >
19
19
</methodsynopsis >
20
+ <para >
21
+ 自 PHP 8.4.0 起,下面的替代签名已被弃用,请使用 <function >stream_context_set_options</function > 代替。
20
22
<methodsynopsis >
21
23
<type >bool</type ><methodname >stream_context_set_option</methodname >
22
24
<methodparam ><type >resource</type ><parameter >stream_or_context</parameter ></methodparam >
23
25
<methodparam ><type >array</type ><parameter >options</parameter ></methodparam >
24
26
</methodsynopsis >
27
+ </para >
25
28
<simpara >
26
29
给指定的上下文设置参数。参数 <parameter >value</parameter >
27
30
是设置 <parameter >wrapper</parameter > 的 <parameter >option</parameter > 参数的值。
93
96
</para >
94
97
</refsect1 ><!-- }}} -->
95
98
99
+ <refsect1 role =" changelog" >
100
+ &reftitle.changelog;
101
+ <informaltable >
102
+ <tgroup cols =" 2" >
103
+ <thead >
104
+ <row >
105
+ <entry >&Version; </entry >
106
+ <entry >&Description; </entry >
107
+ </row >
108
+ </thead >
109
+ <tbody >
110
+ <row >
111
+ <entry >8.4.0</entry >
112
+ <entry >
113
+ 替代的双参数签名已被弃用。
114
+ 请使用 <function >stream_context_set_options</function > 代替。
115
+ </entry >
116
+ </row >
117
+ </tbody >
118
+ </tgroup >
119
+ </informaltable >
120
+ </refsect1 >
121
+
96
122
</refentry >
97
123
98
124
<!-- Keep this comment at the end of the file
Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" utf-8" ?>
2
2
<!-- $Revision$ -->
3
- <!-- EN-Revision: a0ae28d3bc85f927c22649ebd9a590b921534b7d Maintainer: mowangjuanzi Status: ready -->
3
+ <!-- EN-Revision: 6bb12514da39d010f2f0beb025dab9ec2459af51 Maintainer: mowangjuanzi Status: ready -->
4
+ <!-- CREDITS: Luffy -->
4
5
<chapter xml : id =" zlib.setup" xmlns =" http://docbook.org/ns/docbook" xmlns : xlink =" http://www.w3.org/1999/xlink" >
5
6
&reftitle.setup;
6
7
7
8
<!-- {{{ Requirements -->
8
9
<section xml : id =" zlib.requirements" >
9
10
&reftitle.required;
10
11
<para >
11
- 该模块使用 Jean-loup Gailly 和 Mark Adler 的 <link xlink : href =" &url.zlib; " >zlib</link >
12
- 的函数。此模块必须使用 > = 1.2.0.4 的 zlib 版本。
12
+ 该模块依赖于 <link xlink : href =" &url.zlib; " >zlib</link > 的函数,
13
+ 由 Jean-loup Gailly 和 Mark Adler 开发。
14
+ 从 PHP 8.4.0 开始,所需的最低 zlib 版本为 1.2.11。
15
+ 在 PHP 8.4.0 之前,所需的最低 zlib 版本为 1.2.0.4。
13
16
</para >
14
17
</section >
15
18
<!-- }}} -->
You can’t perform that action at this time.
0 commit comments