Contributions are ready for review
| From: | doc-ja at lists dot php dot net | Date: | Mon, 26 Aug 2019 12:00:07 +0000 |
| Subject: | Contributions are ready for review | ||
| Groups: | php.doc.ja | ||
| Request: | Send a blank email to doc-ja+get-5049@lists.php.net to get a copy of this message | ||
Hello PHP JA Documentation team,
There are contributions within the online editor queue for this language.
Please review, then commit or delete these patches.
Patches for review :
-----------------------
Modified: ja/reference/array/functions/compact.xml
By: on 2019-08-16 09:55:15
===================================================================
--- ja/reference/array/functions/compact.xml
+++ ja/reference/array/functions/compact.xml
@@ -23,9 +23,11 @@
変数名がキー、変数の値がそのキーに関する値となるように追加します。
端的に言うと、<function>extract</function> の逆の動作をします。
</para>
- <para>
- 設定されていない全ての文字列は、単にスキップされます。
- </para>
+ <note>
+ <para>
+ PHP 7.3
より前のバージョンでは、設定されていない全ての文字列は、単にスキップされます。
+ </para>
+ </note>
</refsect1>
<refsect1 role="parameters">
&reftitle.parameters;
@@ -52,6 +54,39 @@
追加された全ての変数を値とする出力配列を返します。
</para>
</refsect1>
+
+ <refsect1 role="errors">
+ &reftitle.errors;
+ <para>
+ <function>compact</function>
は、与えられた文字列が示す変数が未定義の場合、
+ E_NOTICE レベルのエラーを発行します。
+ </para>
+ </refsect1>
+
+ <refsect1 role="changelog"><!-- {{{ -->
+ &reftitle.changelog;
+ <informaltable>
+ <tgroup cols="2">
+ <thead>
+ <row>
+ <entry>&Version;</entry>
+ <entry>&Description;</entry>
+ </row>
+ </thead>
+ <tbody>
+ <row>
+ <entry>7.3.0</entry>
+ <entry>
+ <function>compact</function>
は、与えられた文字列が示す変数が未定義の場合、
+ E_NOTICE レベルのエラーを発行するようになりました。
+
以前のバージョンでは、設定されていない全ての文字列は、単にスキップされます。
+ </entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </informaltable>
+ </refsect1><!-- }}} -->
+
<refsect1 role="examples">
&reftitle.examples;
<para>
@@ -66,7 +101,7 @@
$location_vars = array("city", "state");
-$result = compact("event", "nothing_here", $location_vars);
+$result = compact("event", $location_vars);
print_r($result);
?>
]]>
=> Put this change into your patches : https://edit.php.net/?project=php&action=putIntoMyPatches&idDB=93655
=> Delete this change: https://edit.php.net/?project=php&action=deleteThisChange&idDB=93655
------------------------------------------------------------------
Modified: ja/install/fpm/configuration.xml
By: psi / Kaede Fujisaki on 2019-08-17 07:46:53
===================================================================
--- ja/install/fpm/configuration.xml
+++ ja/install/fpm/configuration.xml
@@ -232,8 +232,8 @@
</term>
<listitem>
<para>
- listen(2) のバックログを設定します。'-1'
は無制限を意味します。
- デフォルト値: -1
+ listen(2) のバックログを設定します。
+ デフォルト値: 511 (FreeBSDとOpenBSDにおいては-1)
</para>
</listitem>
</varlistentry>
=> Put this change into your patches : https://edit.php.net/?project=php&action=putIntoMyPatches&idDB=93679
=> Delete this change: https://edit.php.net/?project=php&action=deleteThisChange&idDB=93679
------------------------------------------------------------------
--
https://edit.php.net/
This email is send automatically by the Php Docbook Online Editor.