mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
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:
parent
4642b715f3
commit
45c7531e42
1 changed files with 3 additions and 3 deletions
|
@ -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>
|
||||
|
||||
|
|
Loading…
Reference in a new issue