mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
fix #27134
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:
parent
81eb1450bb
commit
83c244195c
1 changed files with 7 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue