svn: /phpdoc/ja/trunk/ language-snippets.ent reference/strings/functions/get-html-translation-table.xml reference/strings/functions/substr-compare.xml
[email protected] (Yoshinari Takaoka)
| Newsgroups | php.doc.ja |
|---|---|
| Message-ID | <[email protected]> |
mumumu Sun, 06 Dec 2020 22:00:07 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=351931
Log:
Remove some PHP 5 specific info
Changed paths:
U phpdoc/ja/trunk/language-snippets.ent
U phpdoc/ja/trunk/reference/strings/functions/get-html-translation-table.xml
U phpdoc/ja/trunk/reference/strings/functions/substr-compare.xml
Modified: phpdoc/ja/trunk/language-snippets.ent
===================================================================
--- phpdoc/ja/trunk/language-snippets.ent 2020-12-06 21:51:52 UTC (rev 351930)
+++ phpdoc/ja/trunk/language-snippets.ent 2020-12-06 22:00:07 UTC (rev 351931)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 351906 Maintainer: takagi Status: working -->
+<!-- EN-Revision: 351924 Maintainer: takagi Status: working -->
<!-- Credits: hirokawa,haruki,shimooka,mumumu -->
<!ENTITY installation.enabled.disable 'この拡張モジュールはデフォルトで有効になっています。無効にしたい場合は、次のオプションを指定してコンパイルします。'>
@@ -2709,18 +2709,14 @@
</para>
<para xmlns="http://docbook.org/ns/docbook">
- 省略した場の <parameter>encoding</parameter> のデフォルト値は、varies
- PHP のバージョンによって異なります。
- PHP 5.6.0 以降では、デフォルト値として <link linkend="ini.default-charset">default_charset</link>
- の値を使います。PHP 5.4 と PHP 5.5 のデフォルト値は、
- <literal>UTF-8</literal> で、それより前のバージョンの PHP のデフォルト値は
- <literal>ISO-8859-1</literal> でした。
+ 省略した場合の <parameter>encoding</parameter> のデフォルト値は、
+ <link linkend="ini.default-charset">default_charset</link> の値を使います。
</para>
<para xmlns="http://docbook.org/ns/docbook">
- 技術的にはこの引数を省略可能ですが、PHP 5.5 以前のバージョンを使っている場合や、
+ 技術的にはこの引数を省略可能ですが、
<link linkend="ini.default-charset">default_charset</link>
- の指定が入力とは違う文字セットになっている場合は、
+ の指定が入力とは違う文字セットになっている可能性もあるので、
適切な値を指定しておくことを強く推奨します。
</para>
'>
Modified: phpdoc/ja/trunk/reference/strings/functions/get-html-translation-table.xml
===================================================================
--- phpdoc/ja/trunk/reference/strings/functions/get-html-translation-table.xml 2020-12-06 21:51:52 UTC (rev 351930)
+++ phpdoc/ja/trunk/reference/strings/functions/get-html-translation-table.xml 2020-12-06 22:00:07 UTC (rev 351931)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 351904 Maintainer: takagi Status: ready -->
+<!-- EN-Revision: 351924 Maintainer: takagi Status: ready -->
<!-- CREDITS: hirokawa,shimooka,mumumu -->
<refentry xml:id="function.get-html-translation-table" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
@@ -103,9 +103,7 @@
<term><parameter>encoding</parameter></term>
<listitem>
<para>
- 使用するエンコーディング。省略した場合のデフォルト値は、
- PHP 5.4.0 より前のバージョンでは ISO-8859-1、そして
- PHP 5.4.0 以降では UTF-8 となります。
+ 使用するエンコーディング。省略した場合のデフォルト値は UTF-8 となります。
</para>
&reference.strings.charsets;
</listitem>
Modified: phpdoc/ja/trunk/reference/strings/functions/substr-compare.xml
===================================================================
--- phpdoc/ja/trunk/reference/strings/functions/substr-compare.xml 2020-12-06 21:51:52 UTC (rev 351930)
+++ phpdoc/ja/trunk/reference/strings/functions/substr-compare.xml 2020-12-06 22:00:07 UTC (rev 351931)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 351904 Maintainer: takagi Status: ready -->
+<!-- EN-Revision: 351924 Maintainer: takagi Status: ready -->
<!-- Credits: mumumu -->
<refentry xml:id="function.substr-compare" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
@@ -90,8 +90,7 @@
(PHP 7.2.18, 7.3.5 より前のバージョン) か、
<parameter>haystack</parameter> より長い場合、
もしくは <parameter>length</parameter>
- が設定されていて0未満 (PHP 5.5.11 より前は、1未満でした)
- である場合、
+ が設定されていて0未満である場合、
<function>substr_compare</function>
は警告を表示して &false; を返します。
</para>