Skip to content

Commit 7eed1da

Browse files
authored
[PHP 8.4] Function return type changesの翻訳 (#209)
* [PHP 8.4] Function return type changesの翻訳 * [PHP 8.4] Function return type changesの翻訳
1 parent 2c97ea1 commit 7eed1da

File tree

3 files changed

+45
-9
lines changed

3 files changed

+45
-9
lines changed

reference/misc/functions/highlight-string.xml

+10-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<!-- $Revision$ -->
3-
<!-- EN-Revision: 443d81b33e6537a000cc235c2a11748ba8d56232 Maintainer: hirokawa Status: ready -->
3+
<!-- EN-Revision: ba50f222e7108287fb6eb11265c2b28efe0cc0ce Maintainer: hirokawa Status: ready -->
44
<!-- CREDITS: takagi -->
55
<refentry xml:id="function.highlight-string" xmlns="http://docbook.org/ns/docbook">
66
<refnamediv>
@@ -11,7 +11,7 @@
1111
<refsect1 role="description">
1212
&reftitle.description;
1313
<methodsynopsis>
14-
<type class="union"><type>string</type><type>bool</type></type><methodname>highlight_string</methodname>
14+
<type class="union"><type>string</type><type>true</type></type><methodname>highlight_string</methodname>
1515
<methodparam><type>string</type><parameter>string</parameter></methodparam>
1616
<methodparam choice="opt"><type>bool</type><parameter>return</parameter><initializer>&false;</initializer></methodparam>
1717
</methodsynopsis>
@@ -51,8 +51,7 @@
5151
<para>
5252
<parameter>return</parameter> が &true; の場合は、
5353
ハイライトされたコードを文字列として返し、表示しません。
54-
それ以外の場合は、成功した場合に &true;
55-
失敗した場合に &false; を返します。
54+
それ以外の場合は、&true; を返します。
5655
</para>
5756
</refsect1>
5857

@@ -68,6 +67,13 @@
6867
</row>
6968
</thead>
7069
<tbody>
70+
<row>
71+
<entry>8.4.0</entry>
72+
<entry>
73+
戻り値の型が、<type class="union"><type>string</type><type>bool</type></type> から
74+
<type class="union"><type>string</type><type>true</type></type> に変更されました。
75+
</entry>
76+
</row>
7177
<row>
7278
<entry>8.3.0</entry>
7379
<entry>

reference/network/functions/long2ip.xml

+8-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<!-- $Revision$ -->
3-
<!-- EN-Revision: d715365c098db000eaf7dcd987ee6093f6e83091 Maintainer: hirokawa Status: ready -->
3+
<!-- EN-Revision: 2537e56cce341e1c14cf2f0e49e5378700f84897 Maintainer: hirokawa Status: ready -->
44
<!-- CREDITS: takagi,mumumu -->
55
<refentry xml:id="function.long2ip" xmlns="http://docbook.org/ns/docbook">
66
<refnamediv>
@@ -39,8 +39,7 @@
3939
<refsect1 role="returnvalues">
4040
&reftitle.returnvalues;
4141
<para>
42-
インターネットの IP アドレスを表す文字列を返します。
43-
&return.falseforfailure;
42+
インターネットの IP アドレスを表す<type>文字列</type>を返します。
4443
</para>
4544
</refsect1>
4645

@@ -55,6 +54,12 @@
5554
</row>
5655
</thead>
5756
<tbody>
57+
<row>
58+
<entry>8.4.0</entry>
59+
<entry>
60+
戻り値の型が、<type class="union"><type>string</type><type>false</type></type> から <type>string</type> に変更されました。
61+
</entry>
62+
</row>
5863
<row>
5964
<entry>7.1.0</entry>
6065
<entry>

reference/var/functions/print-r.xml

+27-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<!-- $Revision$ -->
3-
<!-- EN-Revision: ccc438a27bae31d71fe2ca7dc095360db5bc1af6 Maintainer: hirokawa Status: ready -->
3+
<!-- EN-Revision: 649598d5e2965b2565f7724cdb4fd4f094d4c81e Maintainer: hirokawa Status: ready -->
44
<!-- CREDITS: shimooka -->
55
<refentry xml:id="function.print-r" xmlns="http://docbook.org/ns/docbook">
66
<refnamediv>
@@ -13,7 +13,7 @@
1313
<refsect1 role="description">
1414
&reftitle.description;
1515
<methodsynopsis>
16-
<type class="union"><type>string</type><type>bool</type></type><methodname>print_r</methodname>
16+
<type class="union"><type>string</type><type>true</type></type><methodname>print_r</methodname>
1717
<methodparam><type>mixed</type><parameter>value</parameter></methodparam>
1818
<methodparam choice="opt"><type>bool</type><parameter>return</parameter><initializer>&false;</initializer></methodparam>
1919
</methodsynopsis>
@@ -70,6 +70,31 @@
7070
</para>
7171
</refsect1>
7272

73+
<refsect1 role="changelog">
74+
&reftitle.changelog;
75+
<para>
76+
<informaltable>
77+
<tgroup cols="2">
78+
<thead>
79+
<row>
80+
<entry>&Version;</entry>
81+
<entry>&Description;</entry>
82+
</row>
83+
</thead>
84+
<tbody>
85+
<row>
86+
<entry>8.4.0</entry>
87+
<entry>
88+
戻り値の型が、<type class="union"><type>string</type><type>bool</type></type> から
89+
<type class="union"><type>string</type><type>true</type></type> に変更されました。
90+
</entry>
91+
</row>
92+
</tbody>
93+
</tgroup>
94+
</informaltable>
95+
</para>
96+
</refsect1>
97+
7398
<refsect1 role="examples">
7499
&reftitle.examples;
75100
<para>

0 commit comments

Comments
 (0)