nlopess Thu Feb 5 14:44:52 2004 EDT
Modified files: /phpdoc/en/reference/filesystem/functions clearstatcache.xml Log: fix #27134 php dont cache info about non-existent files http://cvs.php.net/diff.php/phpdoc/en/reference/filesystem/functions/clearstatcache.xml?r1=1.5&r2=1.6&ty=u Index: phpdoc/en/reference/filesystem/functions/clearstatcache.xml diff -u phpdoc/en/reference/filesystem/functions/clearstatcache.xml:1.5 phpdoc/en/reference/filesystem/functions/clearstatcache.xml:1.6 --- phpdoc/en/reference/filesystem/functions/clearstatcache.xml:1.5 Fri Sep 6 10:15:26 2002 +++ phpdoc/en/reference/filesystem/functions/clearstatcache.xml Thu Feb 5 14:44:51 2004 @@ -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