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

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@352122 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Christoph Michael Becker 2020-12-18 12:37:56 +00:00
parent 4642b715f3
commit 45c7531e42

View file

@ -308,9 +308,6 @@
</tgroup>
</table>
</para>
<para>
Maximum length of this parameter is 1023 characters.
</para>
<warning>
<simpara>
Contrary to ISO-9899:1999, Sun Solaris starts with Sunday as 1. As a
@ -356,6 +353,9 @@
local time if no timestamp is given. Month and weekday names and
other language-dependent strings respect the current locale set
with <function>setlocale</function>.
The function returns &false; if <parameter>format</parameter> is empty, contains unsupported
conversion specifiers, or if the length of the returned string would be greater than
<literal>4095</literal>.
</para>
</refsect1>