Skip to content

Commit

Permalink
Sync outdated files (#913)
Browse files Browse the repository at this point in the history
  • Loading branch information
sy-records authored Sep 28, 2024
1 parent e9b2a5d commit c6d5048
Show file tree
Hide file tree
Showing 7 changed files with 29 additions and 44 deletions.
6 changes: 3 additions & 3 deletions language/context/zip.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<!-- EN-Revision: bad50150f7e06228f48c4461fab52afe08a4d5e4 Maintainer: avenger Status: ready -->
<!-- CREDITS: mowangjuanzi -->
<!-- EN-Revision: 0545e305cf06937b14b3f0694d6e716c9881ffd7 Maintainer: avenger Status: ready -->
<!-- CREDITS: mowangjuanzi, Luffy -->
<refentry xml:id="context.zip" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" annotations="verify_info:false" role="stream_context_option">
<refnamediv>
<refname>Zip 上下文选项</refname>
Expand Down Expand Up @@ -44,7 +44,7 @@
</thead>
<tbody>
<row>
<entry>PHP 7.2.0, PECL zip 1.14.0</entry>
<entry>7.2.0PECL zip 1.14.0</entry>
<entry>
添加 <parameter>password</parameter>。
</entry>
Expand Down
6 changes: 3 additions & 3 deletions reference/imagick/imagick/getimagealphachannel.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<!-- EN-Revision: 42aa8713e3a1e22695a80c2af2d61b96b249865d Maintainer: anonymous #44532 Status: ready -->
<!-- CREDITS: mowangjuanzi -->
<!-- EN-Revision: 0545e305cf06937b14b3f0694d6e716c9881ffd7 Maintainer: anonymous #44532 Status: ready -->
<!-- CREDITS: mowangjuanzi, Luffy -->
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="imagick.getimagealphachannel">
<refnamediv>
<refname>Imagick::getImageAlphaChannel</refname>
Expand Down Expand Up @@ -51,7 +51,7 @@
</thead>
<tbody>
<row>
<entry>imagick 3.6.0</entry>
<entry>PECL imagick 3.6.0</entry>
<entry>
现在返回 &boolean;;之前返回 &integer;
</entry>
Expand Down
4 changes: 2 additions & 2 deletions reference/misc/functions/pack.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: 7926717892c5129038097f8a1fa396e209837575 Maintainer: Avenger Status: ready -->
<!-- EN-Revision: 0545e305cf06937b14b3f0694d6e716c9881ffd7 Maintainer: Avenger Status: ready -->
<!-- CREDITS: Luffy -->
<refentry xml:id="function.pack" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
Expand Down Expand Up @@ -221,7 +221,7 @@
</entry>
</row>
<row>
<entry>7.0.15,7.1.1</entry>
<entry>7.0.157.1.1</entry>
<entry>
添加了 “e”,“E”,“g” 和 “G” 代码以启用 float 和 double 的字节顺序支持。
</entry>
Expand Down
28 changes: 2 additions & 26 deletions reference/mysql/functions/mysql-list-tables.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<!-- EN-Revision: 4206843127f9a72a283b63ac82c0155a598506b1 Maintainer: avenger Status: ready -->
<!-- $Author$ -->
<!-- EN-Revision: dafb1509d0b124bffe6ce275b5105b30b3fcec63 Maintainer: avenger Status: ready -->
<!-- CREDITS: Luffy -->
<refentry xml:id="function.mysql-list-tables" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>mysql_list_tables</refname>
Expand Down Expand Up @@ -62,30 +62,6 @@
</para>
</refsect1>

<refsect1 role="changelog">
&reftitle.changelog;
<para>
<informaltable xml:id="function.mysql-list-tables.changelog">
<tgroup cols="2">
<thead>
<row>
<entry>&Version;</entry>
<entry>&Description;</entry>
</row>
</thead>
<tbody>
<row>
<entry>4.3.7</entry>
<entry>
此函数已废弃。
</entry>
</row>
</tbody>
</tgroup>
</informaltable>
</para>
</refsect1>

<refsect1 role="examples">
&reftitle.examples;
<para>
Expand Down
7 changes: 3 additions & 4 deletions reference/pthreads/pool/collect.xml
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<!-- EN-Revision: b694084174d9bb9432d5ae0d405e43482e6cfb67 Maintainer: yuanyuqiang Status: ready -->
<!-- Reviewed: no -->

<!-- EN-Revision: 0545e305cf06937b14b3f0694d6e716c9881ffd7 Maintainer: yuanyuqiang Status: ready -->
<!-- CREDITS: Luffy -->
<refentry xml:id="pool.collect" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
<refname>Pool::collect</refname>
Expand Down Expand Up @@ -55,7 +54,7 @@
</thead>
<tbody>
<row>
<entry>v3</entry>
<entry>PECL pthreads 3.0.0</entry>
<entry>
<parameter>collector</parameter> 参数变为可选参数,
并且返回值改为整数。
Expand Down
7 changes: 3 additions & 4 deletions reference/pthreads/worker/unstack.xml
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<!-- EN-Revision: 99a05eca30d4789366893e5fd902c6c17d10fba1 Maintainer: yuanyuqiang Status: ready -->
<!-- Reviewed: no -->

<!-- EN-Revision: 0545e305cf06937b14b3f0694d6e716c9881ffd7 Maintainer: yuanyuqiang Status: ready -->
<!-- CREDITS: Luffy -->
<refentry xml:id="worker.unstack" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
<refname>Worker::unstack</refname>
Expand Down Expand Up @@ -45,7 +44,7 @@
</thead>
<tbody>
<row>
<entry>v3</entry>
<entry>PECL pthreads 3.0.0</entry>
<entry>
移除了要出栈的任务参数。
现在只能移除栈顶元素。
Expand Down
15 changes: 13 additions & 2 deletions reference/var/functions/get-debug-type.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: 0edc11c6c46753ef0b81d0060b925b4f58552996 Maintainer: Luffy Status: ready -->
<!-- EN-Revision: 3672010f40d6082dd27ceb19dbd26f0d79ead997 Maintainer: Luffy Status: ready -->
<refentry xml:id="function.get-debug-type" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>get_debug_type</refname>
Expand Down Expand Up @@ -119,7 +119,7 @@
<row>
<entry>Objects from Anonymous Classes</entry>
<entry>
<literal>"class@anonymous"</literal>
<literal>"class@anonymous"</literal> 或者如果类继承另一个类或实现一个接口,则为父类名/接口名,例如 <literal>"Foo\Bar@anonymous"</literal>
</entry>
<entry>
匿名类是通过 $x = new class { ... } 语法创建的类
Expand Down Expand Up @@ -155,6 +155,13 @@ echo get_debug_type($fp) . PHP_EOL;
echo get_debug_type(new stdClass) . PHP_EOL;
echo get_debug_type(new class {}) . PHP_EOL;
namespace Foo;
echo get_debug_type(new class implements A {}) . PHP_EOL;
echo get_debug_type(new class implements A,B {}) . PHP_EOL;
echo get_debug_type(new class extends C {}) . PHP_EOL;
echo get_debug_type(new class extends C implements A {}) . PHP_EOL;
?>
]]>
</programlisting>
Expand All @@ -171,6 +178,10 @@ resource (stream)
resource (closed)
stdClass
class@anonymous
Foo\A@anonymous
Foo\A@anonymous
Foo\C@anonymous
Foo\C@anonymous
]]>
</screen>
</example>
Expand Down

0 comments on commit c6d5048

Please sign in to comment.