file_exists() returns false on symlinks pointing nowhere (user note <eweringATgmail>)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@260312 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Hannes Magnusson 2008-05-26 11:30:03 +00:00
parent d532ad6d1f
commit 6565b69698

View file

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