Skip to content

Commit

Permalink
Add warn.deprecated.feature-8-4-0 to language-snippets.ent
Browse files Browse the repository at this point in the history
  • Loading branch information
sy-records committed Nov 5, 2024
1 parent 912b89b commit 831e67a
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 8 deletions.
6 changes: 5 additions & 1 deletion language-snippets.ent
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<!-- EN-Revision: 17a5268812b06c23073609c4e8ab976ebfceb61b Maintainer: Gregory Status: ready -->
<!-- EN-Revision: 5051184c4fb3fcfe5f3f01f4789d0149e3e1f945 Maintainer: Gregory Status: ready -->
<!-- CREDITS: dallas, mowangjuanzi, Luffy -->
<!-- 请保持此文件与英文文件中相应的每个 ENTITY 行号一一对应以便于对照,修改与更新! -->

Expand Down Expand Up @@ -362,6 +362,10 @@ xmlns="http://docbook.org/ns/docbook"><simpara>本特性已自 PHP 8.3.0
xmlns="http://docbook.org/ns/docbook"><simpara>此函数自 PHP 8.3.0
起<emphasis>弃用</emphasis>。强烈建议不要应用此函数。</simpara></warning>'>

<!ENTITY warn.deprecated.feature-8-4-0 '<warning
xmlns="http://docbook.org/ns/docbook"><simpara>本特性已自 PHP 8.4.0
起<emphasis>废弃</emphasis>。强烈建议不要使用本特性。</simpara></warning>'>

<!ENTITY warn.deprecated.function-8-4-0 '<warning
xmlns="http://docbook.org/ns/docbook"><simpara>此函数自 PHP 8.4.0
起<emphasis>弃用</emphasis>。强烈建议不要应用此函数。</simpara></warning>'>
Expand Down
4 changes: 3 additions & 1 deletion language/oop5/basic.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<!-- EN-Revision: f94d903985119d3ac00f4528551df947f57b667f Maintainer: avenger Status: ready -->
<!-- EN-Revision: 1d92bcca7524c50fc41056ea4c04e1032eb9e055 Maintainer: avenger Status: ready -->
<!-- CREDITS: mowangjuanzi, Luffy -->
<sect1 xml:id="language.oop5.basic" xmlns="http://docbook.org/ns/docbook">
<title>基本概念</title>
Expand Down Expand Up @@ -350,6 +350,8 @@ bool(true)
<![CDATA[
<?php
echo (new DateTime())->format('Y');
// 从 PHP 8.4.0 起,周围的括号是可选的
echo new DateTime()->format('Y');
?>
]]>
</programlisting>
Expand Down
8 changes: 7 additions & 1 deletion language/oop5/changelog.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<!-- EN-Revision: 8d181538611c512546ac394511aa1d8e900dd9a3 Maintainer: daijie Status: ready -->
<!-- EN-Revision: c0fa5077c8862405942d8aac7360c5169558b59b Maintainer: daijie Status: ready -->
<!-- CREDITS: Luffy, mowangjuanzi -->
<sect1 xml:id="language.oop5.changelog" xmlns="http://docbook.org/ns/docbook">
<title>OOP 变更日志</title>
Expand All @@ -17,6 +17,12 @@
</row>
</thead>
<tbody>
<row>
<entry>8.4.0</entry>
<entry>
添加:支持 <link linkend="language.oop5.lazy-objects">延迟对象</link>。
</entry>
</row>
<row>
<entry>8.1.0</entry>
<entry>
Expand Down
7 changes: 2 additions & 5 deletions reference/filesystem/functions/glob.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<!-- EN-Revision: 07e4b982a4097d894d8576ab793f3cf18759983d Maintainer: HonestQiao Status: ready -->
<!-- EN-Revision: fdd2aca71cfb2af77e365633a57e79e22bc1786e Maintainer: HonestQiao Status: ready -->
<!-- CREDITS: Luffy, mowangjuanzi -->
<refentry xml:id="function.glob" xmlns="http://docbook.org/ns/docbook" xmlns:xi="http://www.w3.org/2001/XInclude">
<refnamediv>
Expand Down Expand Up @@ -66,10 +66,7 @@
<term><parameter>flags</parameter></term>
<listitem>
<para>
有效标记有:
<variablelist>
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('constant.glob-constant-variablelist')/*)"><xi:fallback/></xi:include>
</variablelist>
任何 <constant>GLOB_<replaceable>*</replaceable></constant> 常量。
</para>
</listitem>
</varlistentry>
Expand Down

0 comments on commit 831e67a

Please sign in to comment.