diff --git a/appendices/ini.core.xml b/appendices/ini.core.xml index a712e95ac..2155e804f 100644 --- a/appendices/ini.core.xml +++ b/appendices/ini.core.xml @@ -1,6 +1,6 @@ - +
&php.ini; 核心指令说明 @@ -191,8 +191,9 @@ - 此指令允许禁用某些函数。接受逗号分隔的函数名称列表作为参数。从 PHP 8.0.0 开始,禁用的函数会删除其定义,从而允许用户重新对其重新定义。在 - PHP 8.0.0 之前,禁用函数只会阻止调用该函数。 + 此指令允许禁用某些函数。它接受逗号分隔的函数名列表作为参数。 + 从 PHP 8.0.0 开始,禁用函数会删除其定义,允许用户重新定义它。 + 在 PHP 8.0.0 之前,禁用函数只是阻止函数被调用。 此指令仅能禁用 内置函数。不能影响 - 本指令允许禁用某些类。接受逗号分隔的类名列表作为参数。禁用类只会阻止该类实例化。 + 此指令允许禁用某些类。它接受逗号分隔的类名列表作为参数。 + 禁用类只是阻止类的实例化。 使用此指令只能禁用内部类。用户定义的类不受影响。 diff --git a/features/dtrace.xml b/features/dtrace.xml index 6f0c83c87..a92b314fa 100644 --- a/features/dtrace.xml +++ b/features/dtrace.xml @@ -1,6 +1,6 @@ - + @@ -79,7 +79,11 @@ - 这样就启用了 PHP 核心的静态探针。对于提供了自有探针的 PHP 扩展需要分别构建。 + 这样就可以在 PHP 中启用 DTrace 静态探针了。 + 对于提供了自有探针的 PHP 扩展,需要单独构建为共享扩展。 + + + 要启用探针,需要将 环境变量设置到目标 PHP 进程。 diff --git a/language-snippets.ent b/language-snippets.ent index 4cf523d70..a58988f7e 100644 --- a/language-snippets.ent +++ b/language-snippets.ent @@ -1,6 +1,6 @@ - + @@ -1636,11 +1636,6 @@ It is strongly recommended to avoid timezone abbreviations. 日期与时间格式。'> - -domnode_append_child 等函数来将其插入。'> - - DOMNode->appendChild 等函数来将其插入。'> diff --git a/language/oop5.xml b/language/oop5.xml index 0eaa468f3..83fd11aa8 100644 --- a/language/oop5.xml +++ b/language/oop5.xml @@ -1,8 +1,8 @@ - + - + 类与对象 diff --git a/language/references.xml b/language/references.xml index 2784e3497..f5b637b0d 100755 --- a/language/references.xml +++ b/language/references.xml @@ -1,6 +1,6 @@ - + 引用的解释