Skip to content

Commit a97cd72

Browse files
authored
Removed the old and unused DomXML section (#972)
* Removed the old and unused DomXML section * Improve English grammar for disable_{functions|classes} INI setting
1 parent a183d71 commit a97cd72

File tree

5 files changed

+16
-15
lines changed

5 files changed

+16
-15
lines changed

appendices/ini.core.xml

Lines changed: 6 additions & 4 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: 90787fda14dcb0976a9738423e6c6013c037d048 Maintainer: Avenger Status: ready -->
3+
<!-- EN-Revision: a1ab750f296de54d79fe3749d5c9164b0593d803 Maintainer: Avenger Status: ready -->
44
<!-- CREDITS: mowangjuanzi, Luffy -->
55
<section xml:id="ini.core" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
66
<title>&php.ini; 核心指令说明</title>
@@ -191,8 +191,9 @@
191191
</term>
192192
<listitem>
193193
<simpara>
194-
此指令允许禁用某些函数。接受逗号分隔的函数名称列表作为参数。从 PHP 8.0.0 开始,禁用的函数会删除其定义,从而允许用户重新对其重新定义。在
195-
PHP 8.0.0 之前,禁用函数只会阻止调用该函数。
194+
此指令允许禁用某些函数。它接受逗号分隔的函数名列表作为参数。
195+
从 PHP 8.0.0 开始,禁用函数会删除其定义,允许用户重新定义它。
196+
在 PHP 8.0.0 之前,禁用函数只是阻止函数被调用。
196197
</simpara>
197198
<simpara>
198199
此指令仅能禁用 <link linkend="functions.internal">内置函数</link>。不能影响<link
@@ -211,7 +212,8 @@
211212
</term>
212213
<listitem>
213214
<para>
214-
本指令允许禁用某些类。接受逗号分隔的类名列表作为参数。禁用类只会阻止该类实例化。
215+
此指令允许禁用某些类。它接受逗号分隔的类名列表作为参数。
216+
禁用类只是阻止类的实例化。
215217
</para>
216218
<para>
217219
使用此指令只能禁用内部类。用户定义的类不受影响。

features/dtrace.xml

Lines changed: 6 additions & 2 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: 9e2d8231b5d8a3795b365c6770fab288e59e6249 Maintainer: yuanyuqiang Status: ready -->
3+
<!-- EN-Revision: d35d7d811ccf7662eefe4f23ff1cabc727a917ca Maintainer: yuanyuqiang Status: ready -->
44
<!-- CREDITS: Luffy -->
55

66
<chapter xml:id="features.dtrace" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
@@ -79,7 +79,11 @@
7979
</informalexample>
8080
</para>
8181
<para>
82-
这样就启用了 PHP 核心的静态探针。对于提供了自有探针的 PHP 扩展需要分别构建。
82+
这样就可以在 PHP 中启用 DTrace 静态探针了。
83+
对于提供了自有探针的 PHP 扩展,需要单独构建为共享扩展。
84+
</para>
85+
<para>
86+
要启用探针,需要将 <option>USE_ZEND_DTRACE=1</option> 环境变量设置到目标 PHP 进程。
8387
</para>
8488
</sect2>
8589

language-snippets.ent

Lines changed: 1 addition & 6 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: cb573d7f33644962dcf32003e5898cf4d67be6ac Maintainer: Gregory Status: ready -->
3+
<!-- EN-Revision: f0d52500c7f8bda83761b18d6c03965741753abd Maintainer: Gregory Status: ready -->
44
<!-- CREDITS: dallas, mowangjuanzi, Luffy -->
55
<!-- 请保持此文件与英文文件中相应的每个 ENTITY 行号一一对应以便于对照,修改与更新! -->
66

@@ -1636,11 +1636,6 @@ It is strongly recommended to avoid timezone abbreviations.
16361636
<!ENTITY date.formats '正确格式的说明详见 <link xmlns="http://docbook.org/ns/docbook" linkend="datetime.formats">日期与时间格式</link>。'>
16371637
<!ENTITY date.formats.parameter '日期/时间字符串。&date.formats;'>
16381638

1639-
<!-- DomXml Notes -->
1640-
<!ENTITY node.inserted '此节点出现在文档中,除非是用诸如
1641-
<function xmlns="http://docbook.org/ns/docbook">domnode_append_child</function> 等函数来将其插入。'>
1642-
1643-
16441639
<!-- Dom Notes -->
16451640
<!ENTITY dom.node.inserted '此节点出现在文档中,除非是用诸如
16461641
<function xmlns="http://docbook.org/ns/docbook">DOMNode->appendChild</function> 等函数来将其插入。'>

language/oop5.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<!-- $Revision$ -->
3-
<!-- EN-Revision: f9dabdea3f92ea77cf5077020a3e945951fdc9db Maintainer: verdana Status: ready -->
3+
<!-- EN-Revision: c1f37a6c270aadbbb3da56a3973ffd62197adf2b Maintainer: verdana Status: ready -->
44
<!-- CREDITS: dallas, HonestQiao, Luffy, mowangjuanzi -->
5-
<chapter xml:id="language.oop5" xmlns="http://docbook.org/ns/docbook">
5+
<chapter xml:id="language.oop5" xmlns="http://docbook.org/ns/docbook" annotations="interactive">
66
<title>类与对象</title>
77

88
<sect1 xml:id="oop5.intro">

language/references.xml

Lines changed: 1 addition & 1 deletion
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: d58ee8eaaa7f716c51f66f5f1058ab3c42376d98 Maintainer: Altair Status: ready -->
3+
<!-- EN-Revision: f4f96ef8b2a95283c92ea2183fe1dedf06f3ad22 Maintainer: Altair Status: ready -->
44
<!-- CREDITS: dallas, Luffy -->
55
<chapter xml:id="language.references" xmlns="http://docbook.org/ns/docbook">
66
<title>引用的解释</title>

0 commit comments

Comments
 (0)