svn: /phpdoc/ja/trunk/reference/datetime/functions/ strftime.xml

[email protected] (Yoshinari Takaoka) Fri, 18 Dec 2020 23:54:39 +0000
Newsgroups php.doc.ja
Message-ID <[email protected]>
mumumu                                   Fri, 18 Dec 2020 23:54:39 +0000

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

Log:
Fix #66777: strftime returns empty string when input fmt string exceeds 1024

Bug: https://bugs.php.net/66777 (Closed) strftime returns empty string when input fmt string exceeds 1024
      
Changed paths:
    U   phpdoc/ja/trunk/reference/datetime/functions/strftime.xml

Modified: phpdoc/ja/trunk/reference/datetime/functions/strftime.xml
===================================================================
--- phpdoc/ja/trunk/reference/datetime/functions/strftime.xml	2020-12-18 23:51:13 UTC (rev 352125)
+++ phpdoc/ja/trunk/reference/datetime/functions/strftime.xml	2020-12-18 23:54:39 UTC (rev 352126)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 351729 Maintainer: hirokawa Status: ready -->
+<!-- EN-Revision: 352122 Maintainer: hirokawa Status: ready -->
 <!-- CREDITS: shimooka,mumumu -->
 <refentry xml:id="function.strftime" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
  <refnamediv>
@@ -307,9 +307,6 @@
         </tgroup>
        </table>
       </para>
-      <para>
-       このパラメータの最大長は 1023 文字です。
-      </para>
       <warning>
        <simpara>
         ISO-9889:1999 に反して、Sun Solaris は日曜日を 1 としています。
@@ -353,6 +350,10 @@
    指定したフォーマット文字列に基づき文字列をフォーマットして返します。
    月および曜日の名前、およびその他の言語依存の文字列は、
    <function>setlocale</function> で設定された現在のロケールを尊重して表示されます。
+
+   この関数は、<parameter>format</parameter> が空だったり、
+   サポートされていない変換指定子が含まれていたり、
+   返される文字列の長さが <literal>4095</literal> より大きい場合は、&false; を返します。
   </para>
  </refsect1>