svn: /phpdoc/ja/trunk/appendices/migration71/ other-changes.xml
| From: | Yoshinari Takaoka | Date: | Wed, 18 Dec 2019 18:31:57 +0000 |
| Subject: | svn: /phpdoc/ja/trunk/appendices/migration71/ other-changes.xml | ||
| Groups: | php.doc.ja | ||
| Request: | Send a blank email to doc-ja+get-5172@lists.php.net to get a copy of this message | ||
mumumu Wed, 18 Dec 2019 18:31:57 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=348577
Log:
- Fix #78652: 7.1 migration guide says default opcache.enable_cli=1, was reverted to 0
- Documented changes of opcache cli being enabled by default on 7.1.2
- Add mention of more informative TypeError messages to migration guide
Bug: https://bugs.php.net/78652 (Closed) 7.1 migration
guide says default opcache.enable_cli=1, was reverted to 0
Changed paths:
U phpdoc/ja/trunk/appendices/migration71/other-changes.xml
Modified: phpdoc/ja/trunk/appendices/migration71/other-changes.xml
===================================================================
--- phpdoc/ja/trunk/appendices/migration71/other-changes.xml 2019-12-18 18:02:41 UTC (rev 348576)
+++ phpdoc/ja/trunk/appendices/migration71/other-changes.xml 2019-12-18 18:31:57 UTC (rev 348577)
@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 342325 Maintainer: takagi Status: working -->
+<!-- EN-Revision: 348151 Maintainer: takagi Status: ready -->
+<!-- CREDITS: mumumu -->
<sect1 xml:id="migration71.other-changes" xmlns:xlink="http://www.w3.org/1999/xlink">
<title>その他の変更</title>
@@ -139,8 +140,8 @@
<term><parameter>precision</parameter></term>
<listitem>
<para>
- If the value is set to -1, then the dtoa mode 0 is used. The default
- value is still 14.
+ この値を -1 に設定すると、dtoa モードの 0 が使われます。
+ デフォルト値は 14 のままです。
</para>
</listitem>
</varlistentry>
@@ -148,8 +149,8 @@
<term><parameter>serialize_precision</parameter></term>
<listitem>
<para>
- If the value is set to -1, then the dtoa mode 0 is used. The value -1 is
- now used by default.
+ この値を -1 に設定すると、dtoa モードの 0 が使われます。
+ デフォルト値は -1 になりました。
</para>
</listitem>
</varlistentry>
@@ -157,8 +158,8 @@
<term><parameter>gd.jpeg_ignore_warning</parameter></term>
<listitem>
<para>
- The default of this &php.ini; setting has been changed to 1, so by
- default libjpeg warnings are ignored.
+ この &php.ini; 設定のデフォルト値は 1 になりました。
+ よって、デフォルトでは libjpeg の警告は無視されます。
</para>
</listitem>
</varlistentry>
@@ -166,8 +167,8 @@
<term><parameter>opcache.enable_cli</parameter></term>
<listitem>
<para>
- The default of this &php.ini; setting has been changed to 1
- (enabled) in PHP 7.1.2.
+ この &php.ini; 設定のデフォルト値は、PHP 7.1.2 で 1 (有効)
に変更され、
+ PHP 7.1.7 で 0 (無効) に戻されました。
</para>
</listitem>
</varlistentry>
@@ -175,21 +176,24 @@
</sect2>
<sect2 xml:id="migration71.other-changes.session-id-csprng-gen">
- <title>Session ID generation with a CSPRNG only</title>
+ <title>セッションIDの生成は、CSPRNGのみから行われる</title>
<para>
- Session IDs will now only be generated with a CSPRNG.
+ セッションID は、CSPRNG のみから生成されるようになりました。
</para>
</sect2>
<sect2 xml:id="migration71.other-changes.typeerror-error-messages">
- <title>More informative <classname>TypeError</classname> messages when
&null; is allowed</title>
+ <title>&null; が許可されていた場合の
<classname>TypeError</classname>
+ メッセージがよりわかりやすく</title>
<para>
- <classname>TypeError</classname> exceptions for arg_info type checks will
- now provide more informative error messages. If the parameter type or return
- type accepts &null; (by either having a default value of &null; or being a
- nullable type), then the error message will now mention this with a message
- of "must be ... or null" or "must ... or be null."
+ arg_info 型をチェックする際の <classname>TypeError</classname> 例外
+ が、よりわかりやすいエラーメッセージを出力するようになりました。
+ 引数の型や戻り値の型が &null; を許可していた場合
+ (デフォルト値が &null; だった場合や、nullable 型だった場合)、
+ エラーメッセージはそのことを
+ "must be ... or null" や "must ... or be null."
+ といった形で示すようになりました。
</para>
</sect2>
</sect1>