reference/filesystem/functions/clearstatcache.xml
e82ff8a846af03b863c4a57fbedc0a93af0e68db
...
...
@@ -1,6 +1,6 @@
1
1
<?xml version="1.0" encoding="utf-8"?>
2
2
<!-- $Revision$ -->
3
-
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.clearstatcache">
3
+
<refentry xml:id="function.clearstatcache" xmlns="http://docbook.org/ns/docbook">
4
4
<refnamediv>
5
5
<refname>clearstatcache</refname>
6
6
<refpurpose>Clears file status cache</refpurpose>
...
...
@@ -10,8 +10,8 @@
10
10
&reftitle.description;
11
11
<methodsynopsis>
12
12
<type>void</type><methodname>clearstatcache</methodname>
13
-
<methodparam choice="opt"><type>bool</type><parameter>clear_realpath_cache</parameter><initializer>false</initializer></methodparam>
14
-
<methodparam choice="opt"><type>string</type><parameter>filename</parameter></methodparam>
13
+
<methodparam choice="opt"><type>bool</type><parameter>clear_realpath_cache</parameter><initializer>&false;</initializer></methodparam>
14
+
<methodparam choice="opt"><type>string</type><parameter>filename</parameter><initializer>""</initializer></methodparam>
15
15
</methodsynopsis>
16
16
<para>
17
17
When you use <function>stat</function>, <function>lstat</function>, or
...
...
@@ -70,7 +70,7 @@
70
70
<term><parameter>clear_realpath_cache</parameter></term>
71
71
<listitem>
72
72
<para>
73
-
Whether to clear the realpath cache or not.
73
+
Whether to <emphasis>also</emphasis> clear the realpath cache.
74
74
</para>
75
75
</listitem>
76
76
</varlistentry>
...
...
@@ -78,7 +78,7 @@
78
78
<term><parameter>filename</parameter></term>
79
79
<listitem>
80
80
<para>
81
-
Clear the realpath and the stat cache for a specific filename only; only
81
+
Clear the realpath cache for a specific filename only; only
82
82
used if <parameter>clear_realpath_cache</parameter> is &true;.
83
83
</para>
84
84
</listitem>
...
...
@@ -94,31 +94,6 @@
94
94
</para>
95
95
</refsect1>
96
96

97
-
<refsect1 role="changelog">
98
-
&reftitle.changelog;
99
-
<para>
100
-
<informaltable>
101
-
<tgroup cols="2">
102
-
<thead>
103
-
<row>
104
-
<entry>&Version;</entry>
105
-
<entry>&Description;</entry>
106
-
</row>
107
-
</thead>
108
-
<tbody>
109
-
<row>
110
-
<entry>5.3.0</entry>
111
-
<entry>
112
-
Added optional <parameter>clear_realpath_cache</parameter>
113
-
and <parameter>filename</parameter> parameters.
114
-
</entry>
115
-
</row>
116
-
</tbody>
117
-
</tgroup>
118
-
</informaltable>
119
-
</para>
120
-
</refsect1>
121
-

122
97
<refsect1 role="examples">
123
98
&reftitle.examples;
124
99
<para>
...
...
@@ -161,7 +136,6 @@ UID @ Sun, 12 Oct 2008 20:48:28 +0100: ross
161
136
</refsect1>
162
137

163
138
</refentry>
164
-

165
139
<!-- Keep this comment at the end of the file
166
140
Local variables:
167
141
mode: sgml
168
142