Skip to content

Commit 46969b5

Browse files
committed
Update appendices/language
1 parent ac814fe commit 46969b5

File tree

8 files changed

+802
-303
lines changed

8 files changed

+802
-303
lines changed

appendices/filters.xml

Lines changed: 53 additions & 57 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<!-- $Revision$ -->
3-
<!-- EN-Revision: 22583751fbfdaa3eaa41aeb6470d1343f5cb2c78 Maintainer: mowangjuanzi Status: ready -->
3+
<!-- EN-Revision: 3f1dbc451b313fb1ec8058f24c1beccf55fce316 Maintainer: mowangjuanzi Status: ready -->
44
<!-- CREDITS: Luffy -->
55
<appendix xml:id="filters" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
66
<title>可用过滤器列表</title>
@@ -92,9 +92,7 @@ fwrite($fp, "This is a test.\n");
9292
<function>strip_tags</function> 函数处理所有的流数据。可以用两种格式接收参数:一种是和
9393
<function>strip_tags</function> 函数第二个参数相似的一个包含有标记列表的字符串,一种是一个包含有标记名的数组。
9494
</simpara>
95-
<para>
96-
&warn.deprecated.feature-7-3-0;
97-
</para>
95+
&warn.deprecated.feature-7-3-0;
9896
<example>
9997
<title>string.strip_tags</title>
10098
<programlisting role="php">
@@ -404,66 +402,64 @@ The compressed file is 1488 bytes long.
404402

405403
<section xml:id="filters.encryption.mcrypt">
406404
<title>mcrypt.* 和 mdecrypt.*</title>
407-
<para>
408405
&warn.deprecated.feature-7-1-0;
409-
</para>
410406

411-
<simpara>
412-
<literal>mcrypt.*</literal> 和
413-
<literal>mdecrypt.*</literal> 使用 libmcrypt 提供了对称的加密和解密。这两组过滤器都支持
407+
<simpara>
408+
<literal>mcrypt.*</literal> 和
409+
<literal>mdecrypt.*</literal> 使用 libmcrypt 提供了对称的加密和解密。这两组过滤器都支持
414410
<link linkend="ref.mcrypt">mcrypt 扩展库</link>中相同的算法,格式为
415411
<literal>mcrypt.ciphername</literal>,其中
416412
<parameter>ciphername</parameter> 是密码的名字,将被传递给
417413
<function>mcrypt_module_open</function>。有以下五个过滤器参数可用:
418-
</simpara>
414+
</simpara>
419415

420-
<para>
421-
<table>
422-
<title>mcrypt 过滤器参数</title>
423-
<tgroup cols="4">
424-
<thead>
425-
<row>
426-
<entry>参数</entry>
427-
<entry>是否必须</entry>
428-
<entry>默认值</entry>
429-
<entry>取值举例</entry>
430-
</row>
431-
</thead>
432-
<tbody>
433-
<row>
434-
<entry>mode</entry>
435-
<entry>可选</entry>
436-
<entry>cbc</entry>
437-
<entry>cbc、cfb、ecb、nofb、ofb、stream</entry>
438-
</row>
439-
<row>
440-
<entry>algorithms_dir</entry>
441-
<entry>可选</entry>
442-
<entry>ini_get(&#39;mcrypt.algorithms_dir&#39;)</entry>
443-
<entry>algorithms 模块的目录</entry>
444-
</row>
445-
<row>
446-
<entry>modes_dir</entry>
447-
<entry>可选</entry>
448-
<entry>ini_get(&#39;mcrypt.modes_dir&#39;)</entry>
449-
<entry>modes 模块的目录</entry>
450-
</row>
451-
<row>
452-
<entry>iv</entry>
453-
<entry>必须</entry>
454-
<entry>N/A</entry>
455-
<entry>典型为 8、16 或 32 字节的二进制数据。根据密码而定</entry>
456-
</row>
457-
<row>
458-
<entry>key</entry>
459-
<entry>必须</entry>
460-
<entry>N/A</entry>
461-
<entry>典型为 8、16 或 32 字节的二进制数据。根据密码而定</entry>
462-
</row>
463-
</tbody>
464-
</tgroup>
465-
</table>
466-
</para>
416+
<para>
417+
<table>
418+
<title>mcrypt 过滤器参数</title>
419+
<tgroup cols="4">
420+
<thead>
421+
<row>
422+
<entry>参数</entry>
423+
<entry>是否必须</entry>
424+
<entry>默认值</entry>
425+
<entry>取值举例</entry>
426+
</row>
427+
</thead>
428+
<tbody>
429+
<row>
430+
<entry>mode</entry>
431+
<entry>可选</entry>
432+
<entry>cbc</entry>
433+
<entry>cbc、cfb、ecb、nofb、ofb、stream</entry>
434+
</row>
435+
<row>
436+
<entry>algorithms_dir</entry>
437+
<entry>可选</entry>
438+
<entry>ini_get(&#39;mcrypt.algorithms_dir&#39;)</entry>
439+
<entry>algorithms 模块的目录</entry>
440+
</row>
441+
<row>
442+
<entry>modes_dir</entry>
443+
<entry>可选</entry>
444+
<entry>ini_get(&#39;mcrypt.modes_dir&#39;)</entry>
445+
<entry>modes 模块的目录</entry>
446+
</row>
447+
<row>
448+
<entry>iv</entry>
449+
<entry>必须</entry>
450+
<entry>N/A</entry>
451+
<entry>典型为 8、16 或 32 字节的二进制数据。根据密码而定</entry>
452+
</row>
453+
<row>
454+
<entry>key</entry>
455+
<entry>必须</entry>
456+
<entry>N/A</entry>
457+
<entry>典型为 8、16 或 32 字节的二进制数据。根据密码而定</entry>
458+
</row>
459+
</tbody>
460+
</tgroup>
461+
</table>
462+
</para>
467463

468464
<example>
469465
<title>用 Blowfish 算法加解密</title>

appendices/migration85.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
<?xml version="1.0" encoding="utf-8"?>
2+
<!-- EN-Revision: ec45af749649dc0d6a23eaedeed1b601f7460813 Maintainer: mowangjuanzi Status: ready -->
23
<appendix xml:id="migration85" xmlns="http://docbook.org/ns/docbook">
34
<title>从 PHP 8.4.x 移植到 PHP 8.5.x</title>
45

0 commit comments

Comments
 (0)