mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
Use of &file.clearstatcache; and ¬e.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:
parent
5969acce5f
commit
dbceff8894
1 changed files with 8 additions and 12 deletions
|
@ -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;
|
||||
|
||||
¬e.no-remote;
|
||||
|
||||
<note>
|
||||
<title>Using Windows shares</title>
|
||||
<para>
|
||||
|
|
Loading…
Reference in a new issue