Note that file_exists() only works on local files.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@18835 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Torben Wilson 2000-01-26 22:33:42 +00:00
parent ab57066b4f
commit 53a3e044e1

View file

@ -602,17 +602,27 @@ $fcontents = join( '', file( 'http://www.php.net' ) );
<funcdef>int <function>file_exists</function></funcdef>
<paramdef>string <parameter>filename</parameter></paramdef>
</funcsynopsis>
<simpara>
Returns true if the file specified by
<parameter>filename</parameter> exists; false otherwise.
</simpara>
<para>
<simpara>
<function>file_exists</function> will not work on remote files;
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.
</para>
</simpara>
</refsect1>
</refentry>
<refentry id="function.fileatime">
<refnamediv>
<refname>fileatime</refname>