php dont cache info about non-existent files


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@150588 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Nuno Lopes 2004-02-05 19:44:51 +00:00
parent 81eb1450bb
commit 83c244195c

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.5 $ -->
<!-- $Revision: 1.6 $ -->
<!-- split from ./en/functions/filesystem.xml, last change in rev 1.2 -->
<refentry id="function.clearstatcache">
<refnamediv>
@ -24,6 +24,12 @@
<function>clearstatcache</function> function to clear the information
that PHP caches about a file.
</para>
<para>
You should also note that PHP don't cache information about non-existent
files. So, if you call <function>file_exists</function> on a file that
doesn't exist, it will return &false; untill you create the file. If you
create the file, it will return &true; even if you then delete the file.
</para>
<note>
<para>
This function caches information about specific filenames, so you only