cvs: phpdoc /en/reference/filesystem/functions file-exists.xml
| From: | Hannes Magnusson | Date: | Mon, 26 May 2008 11:30:03 +0000 |
| Subject: | cvs: phpdoc /en/reference/filesystem/functions file-exists.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-1694@lists.php.net to get a copy of this message | ||
bjori Mon May 26 11:30:03 2008 UTC
Modified files:
/phpdoc/en/reference/filesystem/functions file-exists.xml
Log:
file_exists() returns false on symlinks pointing nowhere (user note <eweringATgmail>)
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/filesystem/functions/file-exists.xml?r1=1.19&r2=1.20&diff_format=u
Index: phpdoc/en/reference/filesystem/functions/file-exists.xml
diff -u phpdoc/en/reference/filesystem/functions/file-exists.xml:1.19
phpdoc/en/reference/filesystem/functions/file-exists.xml:1.20
--- phpdoc/en/reference/filesystem/functions/file-exists.xml:1.19 Wed Jun 20 22:24:27 2007
+++ phpdoc/en/reference/filesystem/functions/file-exists.xml Mon May 26 11:30:03 2008
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.19 $ -->
+<!-- $Revision: 1.20 $ -->
<refentry xmlns="http://docbook.org/ns/docbook"
xml:id="function.file-exists">
<refnamediv>
<refname>file_exists</refname>
@@ -44,6 +44,12 @@
Returns &true; if the file or directory specified by
<parameter>filename</parameter> exists; &false; otherwise.
</para>
+ <note>
+ <para>
+ This function will return &false; for symlinks pointing to non-existing
+ files.
+ </para>
+ </note>
<warning>
<para>
This function returns &false; for files inaccessible due to <link