Skip to content

Commit

Permalink
Sync migration83
Browse files Browse the repository at this point in the history
  • Loading branch information
sy-records committed Nov 24, 2023
1 parent e936863 commit 46bf4fe
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 7 deletions.
7 changes: 2 additions & 5 deletions appendices/migration83/new-functions.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- EN-Revision: f037a94fd276a36a5061b0160fd3c2eafb20d980 Maintainer: mowangjuanzi Status: ready -->
<!-- EN-Revision: dd5bc4f374d4db6e7ca88fcee40f04e8fcb26393 Maintainer: mowangjuanzi Status: ready -->
<!-- CREDITS: Luffy -->
<sect1 xml:id="migration83.new-functions">
<title>新函数</title>

Expand Down Expand Up @@ -88,10 +89,6 @@
<simplelist>
<member><function>pg_set_error_context_visibility</function>
(libpq >= 9.6)</member>
<member><function>pg_enter_pipeline_mode</function> </member>
<member><function>pg_exit_pipeline_mode</function></member>
<member><function>pg_pipeline_sync</function></member>
<member><function>pg_pipeline_status</function></member>
</simplelist>
</sect2>

Expand Down
8 changes: 7 additions & 1 deletion appendices/migration83/other-changes.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- EN-Revision: 224e2a46765308809dfc560371ed1e119c16a046 Maintainer: mowangjuanzi Status: ready -->
<!-- EN-Revision: 1b964cf138931212dd082503f48de084d9d07c2b Maintainer: mowangjuanzi Status: ready -->
<!-- CREDITS: Luffy -->
<sect1 xml:id="migration83.other-changes" xmlns:xlink="http://www.w3.org/1999/xlink">
<title>其它变更</title>
Expand Down Expand Up @@ -300,6 +300,12 @@
<classname>ValueError</classname>。
</para>

<para>
如果 <parameter>$command</parameter> 数组是无效命令,<function>proc_open</function> 将返回 false,而不是随后产生警告的资源对象。
Windows 系统已经是这种行为,但如果使用 posix_spawn 实现(大多数 Linux、BSD 和 MacOS 平台),也会是这种行为。
在一些旧平台上,由于不支持 posix_spawn,因此这种行为不会改变。
</para>

<para>
<function>array_sum</function> 和 <function>array_product</function> 现在会在数组中的值不能转换为 int/float
时发出警告。之前会忽略数组和对象,而其他所有值都被强制转换为 int。此外,定义了数字转换的对象(例如 GMP)现在会强制转换,而不是忽略。
Expand Down
3 changes: 2 additions & 1 deletion reference/strings/functions/stristr.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: 71b1e926631d5f5bec9b2e2685553453349ae799 Maintainer: daijie Status: ready -->
<!-- EN-Revision: d369659c3ffdc8b60f3958b587eea94e6e867fec Maintainer: daijie Status: ready -->
<!-- CREDITS: mowangjuanzi, Luffy -->
<refentry xml:id="function.stristr" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
Expand Down Expand Up @@ -77,6 +77,7 @@
</thead>
<tbody>
&strings.changelog.ascii-case-folding;
&strings.changelog.needle-empty;
<row>
<entry>8.0.0</entry>
<entry>
Expand Down

0 comments on commit 46bf4fe

Please sign in to comment.