mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
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:
parent
ab57066b4f
commit
53a3e044e1
1 changed files with 12 additions and 2 deletions
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue