From a435303ab2041f752aad3143ee1ce650a527face Mon Sep 17 00:00:00 2001 From: James Moore Date: Sun, 5 Nov 2000 18:21:52 +0000 Subject: [PATCH] Note about change in behaviour of tempnam git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@35317 c90b9560-bf6c-de11-be94-00142212c4b1 --- functions/filesystem.xml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/functions/filesystem.xml b/functions/filesystem.xml index 9da4a103ae..ddf8dd21e6 100644 --- a/functions/filesystem.xml +++ b/functions/filesystem.xml @@ -2419,6 +2419,14 @@ $tmpfname = tempnam ("/tmp", "FOO"); + + + 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. + + See also tmpfile.