com doc/ja: Generate methodsynopses based on recently updated stubs: reference/com/compersisthelper/construct.xml reference/datetime/functions/date-sunrise.xml reference/datetime/functions/date-sunset.xml reference/ldap/functions/ldap-exop-whoami.xml reference/pcre/functions/preg-match-all.xml

[email protected] (Yoshinari Takaoka) Tue, 19 Jan 2021 21:27:08 +0000
Newsgroups php.doc.ja
Message-ID <[email protected]>
Commit:    a868f826ac5e73eb50c9ee6b79da9f207d35999a
Author:    Yoshinari Takaoka <[email protected]>         Wed, 20 Jan 2021 06:27:08 +0900
Parents:   2d014aee18a52a6a05e21a0f1d0ab6775b11e8d4
Branches:  master

Link:       http://git.php.net/?p=doc/ja.git;a=commitdiff;h=a868f826ac5e73eb50c9ee6b79da9f207d35999a

Log:
Generate methodsynopses based on recently updated stubs

Co-authored-by: Christoph M. Becker <[email protected]>

Closes GH-362.

Changed paths:
  M  reference/com/compersisthelper/construct.xml
  M  reference/datetime/functions/date-sunrise.xml
  M  reference/datetime/functions/date-sunset.xml
  M  reference/ldap/functions/ldap-exop-whoami.xml
  M  reference/pcre/functions/preg-match-all.xml


Diff:
diff --git a/reference/com/compersisthelper/construct.xml b/reference/com/compersisthelper/construct.xml
index aa005bbff3..703472a330 100644
--- a/reference/com/compersisthelper/construct.xml
+++ b/reference/com/compersisthelper/construct.xml
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 20216b916ed583938672cd09c2c2f430351430d1 Maintainer: mumumu Status: ready -->
+<!-- EN-Revision: a41128675051f3b8ea0fc722a243455611087e55 Maintainer: mumumu Status: ready -->
 
 <refentry xml:id="compersisthelper.construct" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
  <refnamediv>
@@ -12,7 +12,7 @@
   &reftitle.description;
   <constructorsynopsis>
    <modifier>public</modifier> <methodname>COMPersistHelper::__construct</methodname>
-   <methodparam choice="opt"><type class="union"><type>variant</type><type>null</type></type><parameter>variant</parameter></methodparam>
+   <methodparam choice="opt"><type class="union"><type>variant</type><type>null</type></type><parameter>variant</parameter><initializer>&null;</initializer></methodparam>
   </constructorsynopsis>
   <para>
    永続化を助けるオブジェクトを構築します。
diff --git a/reference/datetime/functions/date-sunrise.xml b/reference/datetime/functions/date-sunrise.xml
index 89ecfd21c9..068c815bee 100644
--- a/reference/datetime/functions/date-sunrise.xml
+++ b/reference/datetime/functions/date-sunrise.xml
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 34188f8256bdc6f0e6e1965c2be94247997165b6 Maintainer: takagi Status: ready -->
+<!-- EN-Revision: a41128675051f3b8ea0fc722a243455611087e55 Maintainer: takagi Status: ready -->
 <!-- Credits: mumumu -->
 <refentry xml:id="function.date-sunrise" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
  <refnamediv>
@@ -19,7 +19,7 @@
    <methodparam choice="opt"><type class="union"><type>float</type><type>null</type></type><parameter>latitude</parameter><initializer>&null;</initializer></methodparam>
    <methodparam choice="opt"><type class="union"><type>float</type><type>null</type></type><parameter>longitude</parameter><initializer>&null;</initializer></methodparam>
    <methodparam choice="opt"><type class="union"><type>float</type><type>null</type></type><parameter>zenith</parameter><initializer>&null;</initializer></methodparam>
-   <methodparam choice="opt"><type class="union"><type>float</type><type>null</type></type><parameter>utcOffset</parameter><initializer>0</initializer></methodparam>
+   <methodparam choice="opt"><type class="union"><type>float</type><type>null</type></type><parameter>utcOffset</parameter><initializer>&null;</initializer></methodparam>
   </methodsynopsis>
   <para>
    <function>date_sunrise</function> は、与えられた日付
@@ -181,7 +181,7 @@
        <entry>8.0.0</entry>
        <entry>
         <parameter>latitude</parameter>, <parameter>longitude</parameter>,
-        <parameter>zenith</parameter>, <parameter>latitude</parameter> は、nullable になりました。
+        <parameter>zenith</parameter>, <parameter>utcOffset</parameter> は、nullable になりました。
        </entry>
       </row>
      </tbody>
diff --git a/reference/datetime/functions/date-sunset.xml b/reference/datetime/functions/date-sunset.xml
index 15cfc7f9b6..92cde0d17d 100644
--- a/reference/datetime/functions/date-sunset.xml
+++ b/reference/datetime/functions/date-sunset.xml
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 34188f8256bdc6f0e6e1965c2be94247997165b6 Maintainer: takagi Status: ready -->
+<!-- EN-Revision: a41128675051f3b8ea0fc722a243455611087e55 Maintainer: takagi Status: ready -->
 <!-- Credits: mumumu -->
 <refentry xml:id="function.date-sunset" xmlns="http://docbook.org/ns/docbook">
  <refnamediv>
@@ -19,7 +19,7 @@
    <methodparam choice="opt"><type class="union"><type>float</type><type>null</type></type><parameter>latitude</parameter><initializer>&null;</initializer></methodparam>
    <methodparam choice="opt"><type class="union"><type>float</type><type>null</type></type><parameter>longitude</parameter><initializer>&null;</initializer></methodparam>
    <methodparam choice="opt"><type class="union"><type>float</type><type>null</type></type><parameter>zenith</parameter><initializer>&null;</initializer></methodparam>
-   <methodparam choice="opt"><type class="union"><type>float</type><type>null</type></type><parameter>utcOffset</parameter><initializer>0</initializer></methodparam>
+   <methodparam choice="opt"><type class="union"><type>float</type><type>null</type></type><parameter>utcOffset</parameter><initializer>&null;</initializer></methodparam>
   </methodsynopsis>
    <para>
     <function>date_sunset</function> は、与えられた日付
@@ -181,7 +181,7 @@
        <entry>8.0.0</entry>
        <entry>
         <parameter>latitude</parameter>, <parameter>longitude</parameter>,
-        <parameter>zenith</parameter>, <parameter>latitude</parameter> は、nullable になりました。
+        <parameter>zenith</parameter>, <parameter>utcOffset</parameter> は、nullable になりました。
        </entry>
       </row>
      </tbody>
diff --git a/reference/ldap/functions/ldap-exop-whoami.xml b/reference/ldap/functions/ldap-exop-whoami.xml
index 03665ca789..b0546a6d1e 100644
--- a/reference/ldap/functions/ldap-exop-whoami.xml
+++ b/reference/ldap/functions/ldap-exop-whoami.xml
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 76f8c0151d9a99d2f96e154da050e64305862b21 Maintainer: mumumu Status: ready -->
+<!-- EN-Revision: a41128675051f3b8ea0fc722a243455611087e55 Maintainer: mumumu Status: ready -->
 <refentry xml:id="function.ldap-exop-whoami" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
  <refnamediv>
   <refname>ldap_exop_whoami</refname>
@@ -10,7 +10,7 @@
  <refsect1 role="description">
   &reftitle.description;
   <methodsynopsis>
-   <type class="union"><type>string</type><type>bool</type></type><methodname>ldap_exop_whoami</methodname>
+   <type class="union"><type>string</type><type>false</type></type><methodname>ldap_exop_whoami</methodname>
    <methodparam><type>resource</type><parameter>ldap</parameter></methodparam>
   </methodsynopsis>
   <para>
diff --git a/reference/pcre/functions/preg-match-all.xml b/reference/pcre/functions/preg-match-all.xml
index d52f448abf..2215182063 100644
--- a/reference/pcre/functions/preg-match-all.xml
+++ b/reference/pcre/functions/preg-match-all.xml
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 4754397753fd79f1c846868b66a2448babab1c54 Maintainer: hirokawa Status: ready -->
+<!-- EN-Revision: a41128675051f3b8ea0fc722a243455611087e55 Maintainer: hirokawa Status: ready -->
 <!-- Credits: haruki,mumumu -->
 <refentry xml:id="function.preg-match-all" xmlns="http://docbook.org/ns/docbook">
  <refnamediv>
@@ -15,7 +15,7 @@
    <methodparam><type>string</type><parameter>pattern</parameter></methodparam>
    <methodparam><type>string</type><parameter>subject</parameter></methodparam>
    <methodparam choice="opt"><type>array</type><parameter role="reference">matches</parameter><initializer>&null;</initializer></methodparam>
-   <methodparam choice="opt"><type>int</type><parameter>flags</parameter><initializer><constant>PREG_PATTERN_ORDER</constant></initializer></methodparam>
+   <methodparam choice="opt"><type>int</type><parameter>flags</parameter><initializer>0</initializer></methodparam>
    <methodparam choice="opt"><type>int</type><parameter>offset</parameter><initializer>0</initializer></methodparam>
   </methodsynopsis>
   <para>