Date: 09/06/02
- Next message: Erica Douglass: "RE: [PHP-DOC] cvs: phpdoc /en/reference/filesystem/functions clearstatcache.xml"
- Previous message: derick <email protected>: "Re: [PHP-DOC] cvs: phpdoc /en/reference/filesystem/functions clearstatcache.xml"
- Next in thread: Erica Douglass: "RE: [PHP-DOC] cvs: phpdoc /en/reference/filesystem/functions clearstatcache.xml"
- Reply: Erica Douglass: "RE: [PHP-DOC] cvs: phpdoc /en/reference/filesystem/functions clearstatcache.xml"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
derick Fri Sep 6 02:54:44 2002 EDT
Modified files:
/phpdoc/en/reference/filesystem/functions clearstatcache.xml
Log:
- Fix layout (no tabs, not more than 78 chars on a line)
- Corrected <methodname>foo()</methodname> to <function>foo</function>
Index: phpdoc/en/reference/filesystem/functions/clearstatcache.xml
diff -u phpdoc/en/reference/filesystem/functions/clearstatcache.xml:1.3 phpdoc/en/reference/filesystem/functions/clearstatcache.xml:1.4
--- phpdoc/en/reference/filesystem/functions/clearstatcache.xml:1.3 Fri Sep 6 02:43:13 2002
+++ phpdoc/en/reference/filesystem/functions/clearstatcache.xml Fri Sep 6 02:54:44 2002
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.3 $ -->
+<!-- $Revision: 1.4 $ -->
<!-- split from ./en/functions/filesystem.xml, last change in rev 1.2 -->
<refentry id="function.clearstatcache">
<refnamediv>
@@ -12,20 +12,25 @@
<type>void</type><methodname>clearstatcache</methodname>
<void/>
</methodsynopsis>
- <para>
- When you use <methodname>stat()</methodname>, <methodname>lstat()</methodname>, or any of the other functions listed in the affected functions
- list (below), PHP caches the information those functions return in order to provide faster
- performance. However, in certain cases, you may want to clear the cached information. For
- instance, if the same file is being checked multiple times within a single script, and that file
- is in danger of being removed or changed during that script's operation, you may elect to clear the
- status cache. In these cases, you can use the <methodname>clearstatcache()</methodname> function to clear the information that PHP caches about a file.
+ <para>
+ When you use <function>stat</function>, <function>lstat</function>, or
+ any of the other functions listed in the affected functions list (below),
+ PHP caches the information those functions return in order to provide
+ faster performance. However, in certain cases, you may want to clear the
+ cached information. For instance, if the same file is being checked
+ multiple times within a single script, and that file is in danger of
+ being removed or changed during that script's operation, you may elect to
+ clear the status cache. In these cases, you can use the
+ <function>clearstatcache</function> function to clear the information
+ that PHP caches about a file.
</para>
<note>
<para>
- This function caches information about specific filenames, so you only need to call <methodname>clearstatcache()</methodname> if
- you are performing multiple operations on the same filename and require the information about that
- particular file to not be cached.
- </note>
+ This function caches information about specific filenames, so you only
+ need to call <function>clearstatcache</function> if you are performing
+ multiple operations on the same filename and require the information
+ about that particular file to not be cached.
+ </note>
</para>
<para>
Affected functions include <function>stat</function>,
-- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
- Next message: Erica Douglass: "RE: [PHP-DOC] cvs: phpdoc /en/reference/filesystem/functions clearstatcache.xml"
- Previous message: derick <email protected>: "Re: [PHP-DOC] cvs: phpdoc /en/reference/filesystem/functions clearstatcache.xml"
- Next in thread: Erica Douglass: "RE: [PHP-DOC] cvs: phpdoc /en/reference/filesystem/functions clearstatcache.xml"
- Reply: Erica Douglass: "RE: [PHP-DOC] cvs: phpdoc /en/reference/filesystem/functions clearstatcache.xml"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

