mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
Note about change in behaviour of tempnam
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@35317 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
b9e9eeb471
commit
a435303ab2
1 changed files with 8 additions and 0 deletions
|
@ -2419,6 +2419,14 @@ $tmpfname = tempnam ("/tmp", "FOO");
|
|||
</programlisting>
|
||||
</example>
|
||||
</para>
|
||||
<note>
|
||||
<simpara>
|
||||
This Functions behaviour changed in 4.0.3, the temporary file is also
|
||||
created, this is due to the fact that before the returned string is not
|
||||
guaranteed to continue to be a uniqe temporary filename, whereas with
|
||||
the new behaviour it is.
|
||||
</simpara>
|
||||
</note>
|
||||
<para>
|
||||
See also <function>tmpfile</function>.
|
||||
</para>
|
||||
|
|
Loading…
Reference in a new issue