diff --git a/language/context/zip.xml b/language/context/zip.xml index f8087d060..03714ab36 100644 --- a/language/context/zip.xml +++ b/language/context/zip.xml @@ -1,7 +1,7 @@ - - + + Zip 上下文选项 @@ -44,7 +44,7 @@ - PHP 7.2.0, PECL zip 1.14.0 + 7.2.0,PECL zip 1.14.0 添加 password diff --git a/reference/imagick/imagick/getimagealphachannel.xml b/reference/imagick/imagick/getimagealphachannel.xml index ad029ef0c..35d49f3a6 100644 --- a/reference/imagick/imagick/getimagealphachannel.xml +++ b/reference/imagick/imagick/getimagealphachannel.xml @@ -1,7 +1,7 @@ - - + + Imagick::getImageAlphaChannel @@ -51,7 +51,7 @@ - imagick 3.6.0 + PECL imagick 3.6.0 现在返回 &boolean;;之前返回 &integer;。 diff --git a/reference/misc/functions/pack.xml b/reference/misc/functions/pack.xml index f7265bd31..4c1038786 100644 --- a/reference/misc/functions/pack.xml +++ b/reference/misc/functions/pack.xml @@ -1,6 +1,6 @@ - + @@ -221,7 +221,7 @@ - 7.0.15,7.1.1 + 7.0.15,7.1.1 添加了 “e”,“E”,“g” 和 “G” 代码以启用 float 和 double 的字节顺序支持。 diff --git a/reference/mysql/functions/mysql-list-tables.xml b/reference/mysql/functions/mysql-list-tables.xml index bed26281d..f398eb935 100644 --- a/reference/mysql/functions/mysql-list-tables.xml +++ b/reference/mysql/functions/mysql-list-tables.xml @@ -1,7 +1,7 @@ - - + + mysql_list_tables @@ -62,30 +62,6 @@ - - &reftitle.changelog; - - - - - - &Version; - &Description; - - - - - 4.3.7 - - 此函数已废弃。 - - - - - - - - &reftitle.examples; diff --git a/reference/pthreads/pool/collect.xml b/reference/pthreads/pool/collect.xml index dbdf4e095..b81e0f72c 100644 --- a/reference/pthreads/pool/collect.xml +++ b/reference/pthreads/pool/collect.xml @@ -1,8 +1,7 @@ - - - + + Pool::collect @@ -55,7 +54,7 @@ - v3 + PECL pthreads 3.0.0 collector 参数变为可选参数, 并且返回值改为整数。 diff --git a/reference/pthreads/worker/unstack.xml b/reference/pthreads/worker/unstack.xml index 736e8b123..d0b4cacd0 100644 --- a/reference/pthreads/worker/unstack.xml +++ b/reference/pthreads/worker/unstack.xml @@ -1,8 +1,7 @@ - - - + + Worker::unstack @@ -45,7 +44,7 @@ - v3 + PECL pthreads 3.0.0 移除了要出栈的任务参数。 现在只能移除栈顶元素。 diff --git a/reference/var/functions/get-debug-type.xml b/reference/var/functions/get-debug-type.xml index 442b36f33..a7c9256dd 100644 --- a/reference/var/functions/get-debug-type.xml +++ b/reference/var/functions/get-debug-type.xml @@ -1,6 +1,6 @@ - + get_debug_type @@ -119,7 +119,7 @@ Objects from Anonymous Classes - "class@anonymous" + "class@anonymous" 或者如果类继承另一个类或实现一个接口,则为父类名/接口名,例如 "Foo\Bar@anonymous" 匿名类是通过 $x = new class { ... } 语法创建的类 @@ -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; ?> ]]> @@ -171,6 +178,10 @@ resource (stream) resource (closed) stdClass class@anonymous +Foo\A@anonymous +Foo\A@anonymous +Foo\C@anonymous +Foo\C@anonymous ]]>