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:
James Moore 2000-11-05 18:21:52 +00:00
parent b9e9eeb471
commit a435303ab2

View file

@ -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>