Use of &file.clearstatcache; and &note.no-remote; and mention checks if

directories exist too.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@117363 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Philip Olson 2003-02-20 17:27:25 +00:00
parent 5969acce5f
commit dbceff8894

View file

@ -1,10 +1,10 @@
<?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.file-exists">
<refnamediv>
<refname>file_exists</refname>
<refpurpose>Checks whether a file exists</refpurpose>
<refpurpose>Checks whether a file or directory exists</refpurpose>
</refnamediv>
<refsect1>
<title>Description</title>
@ -13,18 +13,14 @@
<methodparam><type>string</type><parameter>filename</parameter></methodparam>
</methodsynopsis>
<simpara>
Returns &true; if the file specified by
Returns &true; if the file or directory specified by
<parameter>filename</parameter> exists; &false; otherwise.
</simpara>
<simpara>
This function will not work on <link
linkend="features.remote-files">remote files</link>; the file to
be examined must be accessible via the server's filesystem.
</simpara>
<simpara>
The results of this function are cached. See
<function>clearstatcache</function> for more details.
</simpara>
&file.clearstatcache;
&note.no-remote;
<note>
<title>Using Windows shares</title>
<para>