From e041a07655ba6dce0a530fe0dfff5c1a67d41889 Mon Sep 17 00:00:00 2001
From: Andy Lindeman <alindeman@php.net>
Date: Wed, 23 Jul 2003 15:27:32 +0000
Subject: [PATCH] adding note about the behavior of tempnam()

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@135695 c90b9560-bf6c-de11-be94-00142212c4b1
---
 reference/filesystem/functions/tempnam.xml | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/reference/filesystem/functions/tempnam.xml b/reference/filesystem/functions/tempnam.xml
index 4243618c0c..54f2978be3 100644
--- a/reference/filesystem/functions/tempnam.xml
+++ b/reference/filesystem/functions/tempnam.xml
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.4 $ -->
+<!-- $Revision: 1.5 $ -->
 <!-- splitted from ./en/functions/filesystem.xml, last change in rev 1.2 -->
   <refentry id="function.tempnam">
    <refnamediv>
@@ -29,6 +29,12 @@
      points to exists. Consult your system documentation on the
      tempnam(3) function if in doubt.
     </para>
+    <note>
+     <simpara>
+      If PHP cannot create a file in the specified <parameter>dir</parameter>
+      parameter, it falls back on the system default.
+     </simpara>
+    </note>
     <para>
      Returns the new temporary filename, or the &false; string on
      failure.