Skip to content

Commit c631142

Browse files
authored
Synchronize manual with stubs for PHP 8.4 - part 1 を取り込み (#251)
* chore: change line ending from CRLF to LF * Synchronize manual with stubs for PHP 8.4 - part 1 を取り込み
1 parent 3690cd3 commit c631142

File tree

9 files changed

+81
-60
lines changed

9 files changed

+81
-60
lines changed

reference/array/functions/array-all.xml

+2-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: 596c11440dc232b8ed1836d7e3afe2ed5b225a7b Maintainer: KentarouTakeda Status: ready -->
3+
<!-- EN-Revision: 679cf93fa1e54cde82fc9cf545966eb13bcb0638 Maintainer: KentarouTakeda Status: ready -->
44
<!-- CREDITS: KentarouTakeda -->
55
<refentry xml:id="function.array-all" xmlns="http://docbook.org/ns/docbook">
66
<refnamediv>
@@ -11,7 +11,7 @@
1111
<refsect1 role="description">
1212
&reftitle.description;
1313
<methodsynopsis>
14-
<type>mixed</type><methodname>array_all</methodname>
14+
<type>bool</type><methodname>array_all</methodname>
1515
<methodparam><type>array</type><parameter>array</parameter></methodparam>
1616
<methodparam><type>callable</type><parameter>callback</parameter></methodparam>
1717
</methodsynopsis>

reference/array/functions/array-any.xml

+2-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: 596c11440dc232b8ed1836d7e3afe2ed5b225a7b Maintainer: KentarouTakeda Status: ready -->
3+
<!-- EN-Revision: 679cf93fa1e54cde82fc9cf545966eb13bcb0638 Maintainer: KentarouTakeda Status: ready -->
44
<!-- CREDITS: KentarouTakeda -->
55
<refentry xml:id="function.array-any" xmlns="http://docbook.org/ns/docbook">
66
<refnamediv>
@@ -11,7 +11,7 @@
1111
<refsect1 role="description">
1212
&reftitle.description;
1313
<methodsynopsis>
14-
<type>mixed</type><methodname>array_any</methodname>
14+
<type>bool</type><methodname>array_any</methodname>
1515
<methodparam><type>array</type><parameter>array</parameter></methodparam>
1616
<methodparam><type>callable</type><parameter>callback</parameter></methodparam>
1717
</methodsynopsis>
+41-41
Original file line numberDiff line numberDiff line change
@@ -1,41 +1,41 @@
1-
<?xml version="1.0" encoding="utf-8"?>
2-
<!-- $Revision$ -->
3-
<!-- EN-Revision: 1160ec4e7d21a2619e9661d6afe3a6356267c6c2 Maintainer: satoruyoshida Status: ready -->
4-
<!-- Credits: mumumu -->
5-
<refentry xml:id="finfo.set-flags" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
6-
<refnamediv>
7-
<refname>finfo::set_flags</refname>
8-
<refpurpose><link linkend="function.finfo-set-flags">finfo_set_flags()</link> &Alias;</refpurpose>
9-
</refnamediv>
10-
11-
<refsect1 role="description">
12-
&reftitle.description;
13-
<methodsynopsis role="finfo">
14-
<modifier>public</modifier> <type>bool</type><methodname>finfo::set_flags</methodname>
15-
<methodparam><type>int</type><parameter>flags</parameter></methodparam>
16-
</methodsynopsis>
17-
<para>
18-
&info.function.alias; <link linkend="function.finfo-set-flags">finfo_set_flags()</link>
19-
</para>
20-
</refsect1>
21-
</refentry>
22-
<!-- Keep this comment at the end of the file
23-
Local variables:
24-
mode: sgml
25-
sgml-omittag:t
26-
sgml-shorttag:t
27-
sgml-minimize-attributes:nil
28-
sgml-always-quote-attributes:t
29-
sgml-indent-step:1
30-
sgml-indent-data:t
31-
indent-tabs-mode:nil
32-
sgml-parent-document:nil
33-
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
34-
sgml-exposed-tags:nil
35-
sgml-local-catalogs:nil
36-
sgml-local-ecat-files:nil
37-
End:
38-
vim600: syn=xml fen fdm=syntax fdl=2 si
39-
vim: et tw=78 syn=sgml
40-
vi: ts=1 sw=1
41-
-->
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<!-- $Revision$ -->
3+
<!-- EN-Revision: 679cf93fa1e54cde82fc9cf545966eb13bcb0638 Maintainer: satoruyoshida Status: ready -->
4+
<!-- Credits: mumumu -->
5+
<refentry xml:id="finfo.set-flags" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
6+
<refnamediv>
7+
<refname>finfo::set_flags</refname>
8+
<refpurpose><link linkend="function.finfo-set-flags">finfo_set_flags()</link> &Alias;</refpurpose>
9+
</refnamediv>
10+
11+
<refsect1 role="description">
12+
&reftitle.description;
13+
<methodsynopsis role="finfo">
14+
<modifier>public</modifier> <type>true</type><methodname>finfo::set_flags</methodname>
15+
<methodparam><type>int</type><parameter>flags</parameter></methodparam>
16+
</methodsynopsis>
17+
<para>
18+
&info.function.alias; <link linkend="function.finfo-set-flags">finfo_set_flags()</link>
19+
</para>
20+
</refsect1>
21+
</refentry>
22+
<!-- Keep this comment at the end of the file
23+
Local variables:
24+
mode: sgml
25+
sgml-omittag:t
26+
sgml-shorttag:t
27+
sgml-minimize-attributes:nil
28+
sgml-always-quote-attributes:t
29+
sgml-indent-step:1
30+
sgml-indent-data:t
31+
indent-tabs-mode:nil
32+
sgml-parent-document:nil
33+
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
34+
sgml-exposed-tags:nil
35+
sgml-local-catalogs:nil
36+
sgml-local-ecat-files:nil
37+
End:
38+
vim600: syn=xml fen fdm=syntax fdl=2 si
39+
vim: et tw=78 syn=sgml
40+
vi: ts=1 sw=1
41+
-->

reference/fileinfo/functions/finfo-set-flags.xml

+2-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: db22a7cfcbc3af221f67e228336ac3e2d62aaf2c Maintainer: takagi Status: ready -->
3+
<!-- EN-Revision: 679cf93fa1e54cde82fc9cf545966eb13bcb0638 Maintainer: takagi Status: ready -->
44
<refentry xml:id="function.finfo-set-flags" xmlns="http://docbook.org/ns/docbook">
55
<refnamediv>
66
<refname>finfo_set_flags</refname>
@@ -17,7 +17,7 @@
1717
</methodsynopsis>
1818
<para>&style.oop;</para>
1919
<methodsynopsis role="finfo">
20-
<modifier>public</modifier> <type>bool</type><methodname>finfo::set_flags</methodname>
20+
<modifier>public</modifier> <type>true</type><methodname>finfo::set_flags</methodname>
2121
<methodparam><type>int</type><parameter>flags</parameter></methodparam>
2222
</methodsynopsis>
2323

reference/gettext/functions/bind-textdomain-codeset.xml

+9-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: a4fd6e61bdde94db011541268e6ff2738ac1ab9f Maintainer: hirokawa Status: ready -->
3+
<!-- EN-Revision: 679cf93fa1e54cde82fc9cf545966eb13bcb0638 Maintainer: hirokawa Status: ready -->
44
<!-- Credits: mumumu,jdkfx -->
55
<refentry xml:id="function.bind-textdomain-codeset" xmlns="http://docbook.org/ns/docbook">
66
<refnamediv>
@@ -13,7 +13,7 @@
1313
<methodsynopsis>
1414
<type class="union"><type>string</type><type>false</type></type><methodname>bind_textdomain_codeset</methodname>
1515
<methodparam><type>string</type><parameter>domain</parameter></methodparam>
16-
<methodparam><type class="union"><type>string</type><type>null</type></type><parameter>codeset</parameter></methodparam>
16+
<methodparam choice="opt"><type class="union"><type>string</type><type>null</type></type><parameter>codeset</parameter><initializer>&null;</initializer></methodparam>
1717
</methodsynopsis>
1818
<para>
1919
<function>bind_textdomain_codeset</function> を使用することで、
@@ -81,6 +81,13 @@
8181
<exceptionname>ValueError</exceptionname> をスローするようになりました。
8282
</entry>
8383
</row>
84+
<row>
85+
<entry>8.4.0</entry>
86+
<entry>
87+
<parameter>codeset</parameter> パラメータが任意になりました。
88+
これより前のバージョンでは、常に指定しなければなりませんでした。
89+
</entry>
90+
</row>
8491
<row>
8592
<entry>8.0.3</entry>
8693
<entry>

reference/gettext/functions/bindtextdomain.xml

+9-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: f456b5951e08d9c010e9717b2a7f7009a46ae5d8 Maintainer: hirokawa Status: ready -->
3+
<!-- EN-Revision: 679cf93fa1e54cde82fc9cf545966eb13bcb0638 Maintainer: hirokawa Status: ready -->
44
<refentry xml:id="function.bindtextdomain" xmlns="http://docbook.org/ns/docbook">
55
<refnamediv>
66
<refname>bindtextdomain</refname>
@@ -12,7 +12,7 @@
1212
<methodsynopsis>
1313
<type class="union"><type>string</type><type>false</type></type><methodname>bindtextdomain</methodname>
1414
<methodparam><type>string</type><parameter>domain</parameter></methodparam>
15-
<methodparam><type class="union"><type>string</type><type>null</type></type><parameter>directory</parameter></methodparam>
15+
<methodparam choice="opt"><type class="union"><type>string</type><type>null</type></type><parameter>directory</parameter><initializer>&null;</initializer></methodparam>
1616
</methodsynopsis>
1717
<para>
1818
<function>bindtextdomain</function> 関数は、ドメインへのパスを取得/設定します。
@@ -64,6 +64,13 @@
6464
</row>
6565
</thead>
6666
<tbody>
67+
<row>
68+
<entry>8.4.0</entry>
69+
<entry>
70+
<parameter>directory</parameter> パラメータが任意になりました。
71+
これより前のバージョンでは、常に指定しなければなりませんでした。
72+
</entry>
73+
</row>
6774
<row>
6875
<entry>8.0.3</entry>
6976
<entry>

reference/gettext/functions/textdomain.xml

+9-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<!-- $Revision$ -->
33
<!-- splitted from ./ja/functions/gettext.xml, last change in rev 1.2 -->
4-
<!-- EN-Revision: a4fd6e61bdde94db011541268e6ff2738ac1ab9f Maintainer: hirokawa Status: ready -->
4+
<!-- EN-Revision: 679cf93fa1e54cde82fc9cf545966eb13bcb0638 Maintainer: hirokawa Status: ready -->
55
<refentry xml:id="function.textdomain" xmlns="http://docbook.org/ns/docbook">
66
<refnamediv>
77
<refname>textdomain</refname>
@@ -11,7 +11,7 @@
1111
&reftitle.description;
1212
<methodsynopsis>
1313
<type>string</type><methodname>textdomain</methodname>
14-
<methodparam><type>string</type><parameter>text_domain</parameter><initializer>&null;</initializer></methodparam>
14+
<methodparam choice="opt"><type class="union"><type>string</type><type>null</type></type><parameter>domain</parameter><initializer>&null;</initializer></methodparam>
1515
</methodsynopsis>
1616
<para>
1717
この関数は、<function>gettext</function> がコールされた際に検索を
@@ -71,6 +71,13 @@
7171
<exceptionname>ValueError</exceptionname> をスローするようになりました。
7272
</entry>
7373
</row>
74+
<row>
75+
<entry>8.4.0</entry>
76+
<entry>
77+
<parameter>domain</parameter> パラメータが任意になりました。
78+
これより前のバージョンでは、常に指定しなければなりませんでした。
79+
</entry>
80+
</row>
7481
</tbody>
7582
</tgroup>
7683
</informaltable>

reference/intl/collator/set-strength.xml

+4-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: 8eec6fe5573d8de8fa65ac04974c8b637d832753 Maintainer: takagi Status: ready -->
3+
<!-- EN-Revision: 679cf93fa1e54cde82fc9cf545966eb13bcb0638 Maintainer: takagi Status: ready -->
44
<refentry xml:id="collator.setstrength" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
55
<refnamediv>
66
<refname>Collator::setStrength</refname>
@@ -14,14 +14,14 @@
1414
&style.oop;
1515
</para>
1616
<methodsynopsis role="Collator">
17-
<modifier>public</modifier> <type>bool</type><methodname>Collator::setStrength</methodname>
17+
<modifier>public</modifier> <type>true</type><methodname>Collator::setStrength</methodname>
1818
<methodparam><type>int</type><parameter>strength</parameter></methodparam>
1919
</methodsynopsis>
2020
<para>
2121
&style.procedural;
2222
</para>
2323
<methodsynopsis>
24-
<type>bool</type><methodname>collator_set_strength</methodname>
24+
<type>true</type><methodname>collator_set_strength</methodname>
2525
<methodparam><type>Collator</type><parameter>object</parameter></methodparam>
2626
<methodparam><type>int</type><parameter>strength</parameter></methodparam>
2727
</methodsynopsis>
@@ -189,7 +189,7 @@
189189
<refsect1 role="returnvalues">
190190
&reftitle.returnvalues;
191191
<para>
192-
&return.success;
192+
&return.true.always;
193193
</para>
194194
</refsect1>
195195

reference/intl/locale/set-default.xml

+3-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: 1976eae0d815797af97a1e16c5cd90ffc2868395 Maintainer: takagi Status: ready -->
3+
<!-- EN-Revision: 679cf93fa1e54cde82fc9cf545966eb13bcb0638 Maintainer: takagi Status: ready -->
44
<!-- Credits: mumumu -->
55
<refentry xml:id="locale.setdefault" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
66
<refnamediv>
@@ -15,14 +15,14 @@
1515
&style.oop;
1616
</para>
1717
<methodsynopsis role="Locale">
18-
<modifier>public</modifier> <modifier>static</modifier> <type>bool</type><methodname>Locale::setDefault</methodname>
18+
<modifier>public</modifier> <modifier>static</modifier> <type>true</type><methodname>Locale::setDefault</methodname>
1919
<methodparam><type>string</type><parameter>locale</parameter></methodparam>
2020
</methodsynopsis>
2121
<para>
2222
&style.procedural;
2323
</para>
2424
<methodsynopsis>
25-
<type>bool</type><methodname>locale_set_default</methodname>
25+
<type>true</type><methodname>locale_set_default</methodname>
2626
<methodparam><type>string</type><parameter>locale</parameter></methodparam>
2727
</methodsynopsis>
2828
<para>

0 commit comments

Comments
 (0)