svn: /phpdoc/ja/trunk/reference/strings/functions/ sprintf.xml vsprintf.xml

[email protected] (Yoshinari Takaoka) Mon, 28 Dec 2020 00:14:21 +0000
Newsgroups php.doc.ja
Message-ID <[email protected]>
mumumu                                   Mon, 28 Dec 2020 00:14:21 +0000

Revision: http://svn.php.net/viewvc?view=revision&revision=352225

Log:
Update methodsynopses of (v)sprintf()

Changed paths:
    U   phpdoc/ja/trunk/reference/strings/functions/sprintf.xml
    U   phpdoc/ja/trunk/reference/strings/functions/vsprintf.xml

Modified: phpdoc/ja/trunk/reference/strings/functions/sprintf.xml
===================================================================
--- phpdoc/ja/trunk/reference/strings/functions/sprintf.xml	2020-12-27 23:23:02 UTC (rev 352224)
+++ phpdoc/ja/trunk/reference/strings/functions/sprintf.xml	2020-12-28 00:14:21 UTC (rev 352225)
@@ -1,8 +1,8 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 351135 Maintainer: hirokawa Status: ready -->
+<!-- EN-Revision: 352213 Maintainer: hirokawa Status: ready -->
 <!-- CREDITS: takagi,mumumu -->
-<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.sprintf">
+<refentry xml:id="function.sprintf" xmlns="http://docbook.org/ns/docbook">
  <refnamediv>
   <refname>sprintf</refname>
   <refpurpose>フォーマットされた文字列を返す</refpurpose>
@@ -11,7 +11,7 @@
  <refsect1 role="description">
   &reftitle.description;
   <methodsynopsis>
-   <type class="union"><type>string</type><type>false</type></type><methodname>sprintf</methodname>
+   <type>string</type><methodname>sprintf</methodname>
    <methodparam><type>string</type><parameter>format</parameter></methodparam>
    <methodparam rep="repeat"><type>mixed</type><parameter>values</parameter></methodparam>
   </methodsynopsis>
@@ -42,10 +42,31 @@
   <para>
    フォーマット文字列 <parameter>format</parameter>
    に基づき生成された文字列を返します。
-   &return.falseforfailure;。
   </para>
  </refsect1>

+ <refsect1 role="changelog">
+  &reftitle.changelog;
+  <informaltable>
+   <tgroup cols="2">
+    <thead>
+     <row>
+      <entry>&Version;</entry>
+      <entry>&Description;</entry>
+     </row>
+    </thead>
+    <tbody>
+     <row>
+      <entry>8.0.0</entry>
+      <entry>
+       この関数は、失敗時に &false; を返さなくなりました。
+      </entry>
+     </row>
+    </tbody>
+   </tgroup>
+  </informaltable>
+ </refsect1>
+
  <refsect1 role="examples">
   &reftitle.examples;
   <example>
@@ -227,7 +248,6 @@
  </refsect1>

 </refentry>
-
 <!-- Keep this comment at the end of the file
 Local variables:
 mode: sgml

Modified: phpdoc/ja/trunk/reference/strings/functions/vsprintf.xml
===================================================================
--- phpdoc/ja/trunk/reference/strings/functions/vsprintf.xml	2020-12-27 23:23:02 UTC (rev 352224)
+++ phpdoc/ja/trunk/reference/strings/functions/vsprintf.xml	2020-12-28 00:14:21 UTC (rev 352225)
@@ -1,8 +1,8 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 351135 Maintainer: hirokawa Status: ready -->
+<!-- EN-Revision: 352213 Maintainer: hirokawa Status: ready -->
 <!-- CREDITS: shimooka,mumumu -->
-<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.vsprintf">
+<refentry xml:id="function.vsprintf" xmlns="http://docbook.org/ns/docbook">
  <refnamediv>
   <refname>vsprintf</refname>
   <refpurpose>フォーマットされた文字列を返す</refpurpose>
@@ -11,9 +11,9 @@
  <refsect1 role="description">
   &reftitle.description;
   <methodsynopsis>
-   <type class="union"><type>string</type><type>false</type></type><methodname>vsprintf</methodname>
+   <type>string</type><methodname>vsprintf</methodname>
    <methodparam><type>string</type><parameter>format</parameter></methodparam>
-   <methodparam><type>array</type><parameter>args</parameter></methodparam>
+   <methodparam><type>array</type><parameter>values</parameter></methodparam>
   </methodsynopsis>
   <para>
    <function>sprintf</function>と動作は同じですが、
@@ -27,7 +27,7 @@
    <variablelist>
     &strings.parameter.format;
     <varlistentry>
-     <term><parameter>args</parameter></term>
+     <term><parameter>values</parameter></term>
      <listitem>
       <para>
       </para>
@@ -40,10 +40,33 @@
  <refsect1 role="returnvalues">
   &reftitle.returnvalues;
   <para>
-   <parameter>format</parameter> に基づきフォーマットされた文字列として配列値を返します。&return.falseforfailure;
+   <parameter>format</parameter> に基づき、
+   フォーマットされた文字列の配列を返します。
   </para>
  </refsect1>

+ <refsect1 role="changelog">
+  &reftitle.changelog;
+  <informaltable>
+   <tgroup cols="2">
+    <thead>
+     <row>
+      <entry>&Version;</entry>
+      <entry>&Description;</entry>
+     </row>
+    </thead>
+    <tbody>
+     <row>
+      <entry>8.0.0</entry>
+      <entry>
+       この関数は、失敗時に &false; を返さなくなりました。
+      </entry>
+     </row>
+    </tbody>
+   </tgroup>
+  </informaltable>
+ </refsect1>
+
  <refsect1 role="examples">
   &reftitle.examples;
   <para>
@@ -84,7 +107,6 @@
  </refsect1>

 </refentry>
-
 <!-- Keep this comment at the end of the file
 Local variables:
 mode: sgml