Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Synchronize manual with stubs for PHP 8.4 - part 1 を取り込み #251

Merged
merged 2 commits into from
Jan 19, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions reference/array/functions/array-all.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<!-- EN-Revision: 596c11440dc232b8ed1836d7e3afe2ed5b225a7b Maintainer: KentarouTakeda Status: ready -->
<!-- EN-Revision: 679cf93fa1e54cde82fc9cf545966eb13bcb0638 Maintainer: KentarouTakeda Status: ready -->
<!-- CREDITS: KentarouTakeda -->
<refentry xml:id="function.array-all" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
Expand All @@ -11,7 +11,7 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
<type>mixed</type><methodname>array_all</methodname>
<type>bool</type><methodname>array_all</methodname>
<methodparam><type>array</type><parameter>array</parameter></methodparam>
<methodparam><type>callable</type><parameter>callback</parameter></methodparam>
</methodsynopsis>
Expand Down
4 changes: 2 additions & 2 deletions reference/array/functions/array-any.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<!-- EN-Revision: 596c11440dc232b8ed1836d7e3afe2ed5b225a7b Maintainer: KentarouTakeda Status: ready -->
<!-- EN-Revision: 679cf93fa1e54cde82fc9cf545966eb13bcb0638 Maintainer: KentarouTakeda Status: ready -->
<!-- CREDITS: KentarouTakeda -->
<refentry xml:id="function.array-any" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
Expand All @@ -11,7 +11,7 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
<type>mixed</type><methodname>array_any</methodname>
<type>bool</type><methodname>array_any</methodname>
<methodparam><type>array</type><parameter>array</parameter></methodparam>
<methodparam><type>callable</type><parameter>callback</parameter></methodparam>
</methodsynopsis>
Expand Down
82 changes: 41 additions & 41 deletions reference/fileinfo/finfo/set-flags.xml
Original file line number Diff line number Diff line change
@@ -1,41 +1,41 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<!-- EN-Revision: 1160ec4e7d21a2619e9661d6afe3a6356267c6c2 Maintainer: satoruyoshida Status: ready -->
<!-- Credits: mumumu -->
<refentry xml:id="finfo.set-flags" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
<refname>finfo::set_flags</refname>
<refpurpose><link linkend="function.finfo-set-flags">finfo_set_flags()</link> &Alias;</refpurpose>
</refnamediv>
<refsect1 role="description">
&reftitle.description;
<methodsynopsis role="finfo">
<modifier>public</modifier> <type>bool</type><methodname>finfo::set_flags</methodname>
<methodparam><type>int</type><parameter>flags</parameter></methodparam>
</methodsynopsis>
<para>
&info.function.alias; <link linkend="function.finfo-set-flags">finfo_set_flags()</link>
</para>
</refsect1>
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<!-- EN-Revision: 679cf93fa1e54cde82fc9cf545966eb13bcb0638 Maintainer: satoruyoshida Status: ready -->
<!-- Credits: mumumu -->
<refentry xml:id="finfo.set-flags" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
<refname>finfo::set_flags</refname>
<refpurpose><link linkend="function.finfo-set-flags">finfo_set_flags()</link> &Alias;</refpurpose>
</refnamediv>

<refsect1 role="description">
&reftitle.description;
<methodsynopsis role="finfo">
<modifier>public</modifier> <type>true</type><methodname>finfo::set_flags</methodname>
<methodparam><type>int</type><parameter>flags</parameter></methodparam>
</methodsynopsis>
<para>
&info.function.alias; <link linkend="function.finfo-set-flags">finfo_set_flags()</link>
</para>
</refsect1>
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->
4 changes: 2 additions & 2 deletions reference/fileinfo/functions/finfo-set-flags.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<!-- EN-Revision: db22a7cfcbc3af221f67e228336ac3e2d62aaf2c Maintainer: takagi Status: ready -->
<!-- EN-Revision: 679cf93fa1e54cde82fc9cf545966eb13bcb0638 Maintainer: takagi Status: ready -->
<refentry xml:id="function.finfo-set-flags" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>finfo_set_flags</refname>
Expand All @@ -17,7 +17,7 @@
</methodsynopsis>
<para>&style.oop;</para>
<methodsynopsis role="finfo">
<modifier>public</modifier> <type>bool</type><methodname>finfo::set_flags</methodname>
<modifier>public</modifier> <type>true</type><methodname>finfo::set_flags</methodname>
<methodparam><type>int</type><parameter>flags</parameter></methodparam>
</methodsynopsis>

Expand Down
11 changes: 9 additions & 2 deletions reference/gettext/functions/bind-textdomain-codeset.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<!-- EN-Revision: a4fd6e61bdde94db011541268e6ff2738ac1ab9f Maintainer: hirokawa Status: ready -->
<!-- EN-Revision: 679cf93fa1e54cde82fc9cf545966eb13bcb0638 Maintainer: hirokawa Status: ready -->
<!-- Credits: mumumu,jdkfx -->
<refentry xml:id="function.bind-textdomain-codeset" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
Expand All @@ -13,7 +13,7 @@
<methodsynopsis>
<type class="union"><type>string</type><type>false</type></type><methodname>bind_textdomain_codeset</methodname>
<methodparam><type>string</type><parameter>domain</parameter></methodparam>
<methodparam><type class="union"><type>string</type><type>null</type></type><parameter>codeset</parameter></methodparam>
<methodparam choice="opt"><type class="union"><type>string</type><type>null</type></type><parameter>codeset</parameter><initializer>&null;</initializer></methodparam>
</methodsynopsis>
<para>
<function>bind_textdomain_codeset</function> を使用することで、
Expand Down Expand Up @@ -81,6 +81,13 @@
<exceptionname>ValueError</exceptionname> をスローするようになりました。
</entry>
</row>
<row>
<entry>8.4.0</entry>
<entry>
<parameter>codeset</parameter> パラメータが任意になりました。
これより前のバージョンでは、常に指定しなければなりませんでした。
</entry>
</row>
<row>
<entry>8.0.3</entry>
<entry>
Expand Down
11 changes: 9 additions & 2 deletions reference/gettext/functions/bindtextdomain.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<!-- EN-Revision: f456b5951e08d9c010e9717b2a7f7009a46ae5d8 Maintainer: hirokawa Status: ready -->
<!-- EN-Revision: 679cf93fa1e54cde82fc9cf545966eb13bcb0638 Maintainer: hirokawa Status: ready -->
<refentry xml:id="function.bindtextdomain" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>bindtextdomain</refname>
Expand All @@ -12,7 +12,7 @@
<methodsynopsis>
<type class="union"><type>string</type><type>false</type></type><methodname>bindtextdomain</methodname>
<methodparam><type>string</type><parameter>domain</parameter></methodparam>
<methodparam><type class="union"><type>string</type><type>null</type></type><parameter>directory</parameter></methodparam>
<methodparam choice="opt"><type class="union"><type>string</type><type>null</type></type><parameter>directory</parameter><initializer>&null;</initializer></methodparam>
</methodsynopsis>
<para>
<function>bindtextdomain</function> 関数は、ドメインへのパスを取得/設定します。
Expand Down Expand Up @@ -64,6 +64,13 @@
</row>
</thead>
<tbody>
<row>
<entry>8.4.0</entry>
<entry>
<parameter>directory</parameter> パラメータが任意になりました。
これより前のバージョンでは、常に指定しなければなりませんでした。
</entry>
</row>
<row>
<entry>8.0.3</entry>
<entry>
Expand Down
11 changes: 9 additions & 2 deletions reference/gettext/functions/textdomain.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<!-- splitted from ./ja/functions/gettext.xml, last change in rev 1.2 -->
<!-- EN-Revision: a4fd6e61bdde94db011541268e6ff2738ac1ab9f Maintainer: hirokawa Status: ready -->
<!-- EN-Revision: 679cf93fa1e54cde82fc9cf545966eb13bcb0638 Maintainer: hirokawa Status: ready -->
<refentry xml:id="function.textdomain" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>textdomain</refname>
Expand All @@ -11,7 +11,7 @@
&reftitle.description;
<methodsynopsis>
<type>string</type><methodname>textdomain</methodname>
<methodparam><type>string</type><parameter>text_domain</parameter><initializer>&null;</initializer></methodparam>
<methodparam choice="opt"><type class="union"><type>string</type><type>null</type></type><parameter>domain</parameter><initializer>&null;</initializer></methodparam>
</methodsynopsis>
<para>
この関数は、<function>gettext</function> がコールされた際に検索を
Expand Down Expand Up @@ -71,6 +71,13 @@
<exceptionname>ValueError</exceptionname> をスローするようになりました。
</entry>
</row>
<row>
<entry>8.4.0</entry>
<entry>
<parameter>domain</parameter> パラメータが任意になりました。
これより前のバージョンでは、常に指定しなければなりませんでした。
</entry>
</row>
</tbody>
</tgroup>
</informaltable>
Expand Down
8 changes: 4 additions & 4 deletions reference/intl/collator/set-strength.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<!-- EN-Revision: 8eec6fe5573d8de8fa65ac04974c8b637d832753 Maintainer: takagi Status: ready -->
<!-- EN-Revision: 679cf93fa1e54cde82fc9cf545966eb13bcb0638 Maintainer: takagi Status: ready -->
<refentry xml:id="collator.setstrength" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
<refname>Collator::setStrength</refname>
Expand All @@ -14,14 +14,14 @@
&style.oop;
</para>
<methodsynopsis role="Collator">
<modifier>public</modifier> <type>bool</type><methodname>Collator::setStrength</methodname>
<modifier>public</modifier> <type>true</type><methodname>Collator::setStrength</methodname>
<methodparam><type>int</type><parameter>strength</parameter></methodparam>
</methodsynopsis>
<para>
&style.procedural;
</para>
<methodsynopsis>
<type>bool</type><methodname>collator_set_strength</methodname>
<type>true</type><methodname>collator_set_strength</methodname>
<methodparam><type>Collator</type><parameter>object</parameter></methodparam>
<methodparam><type>int</type><parameter>strength</parameter></methodparam>
</methodsynopsis>
Expand Down Expand Up @@ -189,7 +189,7 @@
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
&return.success;
&return.true.always;
</para>
</refsect1>

Expand Down
6 changes: 3 additions & 3 deletions reference/intl/locale/set-default.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<!-- EN-Revision: 1976eae0d815797af97a1e16c5cd90ffc2868395 Maintainer: takagi Status: ready -->
<!-- EN-Revision: 679cf93fa1e54cde82fc9cf545966eb13bcb0638 Maintainer: takagi Status: ready -->
<!-- Credits: mumumu -->
<refentry xml:id="locale.setdefault" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
Expand All @@ -15,14 +15,14 @@
&style.oop;
</para>
<methodsynopsis role="Locale">
<modifier>public</modifier> <modifier>static</modifier> <type>bool</type><methodname>Locale::setDefault</methodname>
<modifier>public</modifier> <modifier>static</modifier> <type>true</type><methodname>Locale::setDefault</methodname>
<methodparam><type>string</type><parameter>locale</parameter></methodparam>
</methodsynopsis>
<para>
&style.procedural;
</para>
<methodsynopsis>
<type>bool</type><methodname>locale_set_default</methodname>
<type>true</type><methodname>locale_set_default</methodname>
<methodparam><type>string</type><parameter>locale</parameter></methodparam>
</methodsynopsis>
<para>
Expand Down