reference/opcache/functions/opcache-invalidate.xml
50b104c116f6b1798e36bf2f56b1fa023b8a7a92
...
...
@@ -1,6 +1,5 @@
1
1
<?xml version="1.0" encoding="utf-8"?>
2
2
<!-- $Revision$ -->
3
-

4
3
<refentry xml:id="function.opcache-invalidate" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
5
4
<refnamediv>
6
5
<refname>opcache_invalidate</refname>
...
...
@@ -10,15 +9,15 @@
10
9
<refsect1 role="description">
11
10
&reftitle.description;
12
11
<methodsynopsis>
13
-
<type>boolean</type><methodname>opcache_invalidate</methodname>
14
-
<methodparam><type>string</type><parameter>script</parameter></methodparam>
15
-
<methodparam choice="opt"><type>boolean</type><parameter>force</parameter><initializer>&false;</initializer></methodparam>
12
+
<type>bool</type><methodname>opcache_invalidate</methodname>
13
+
<methodparam><type>string</type><parameter>filename</parameter></methodparam>
14
+
<methodparam choice="opt"><type>bool</type><parameter>force</parameter><initializer>&false;</initializer></methodparam>
16
15
</methodsynopsis>
17
16
<para>
18
17
This function invalidates a particular script from the opcode cache. If
19
18
<parameter>force</parameter> is unset or &false;, the script will only be
20
19
invalidated if the modification time of the script is newer than the cached
21
-
opcodes.
20
+
opcodes. This function only invalidates in-memory cache and not file cache.
22
21
</para>
23
22
</refsect1>
24
23

...
...
@@ -26,7 +25,7 @@
26
25
&reftitle.parameters;
27
26
<variablelist>
28
27
<varlistentry>
29
-
<term><parameter>script</parameter></term>
28
+
<term><parameter>filename</parameter></term>
30
29
<listitem>
31
30
<para>
32
31
The path to the script being invalidated.
...
...
@@ -48,7 +47,7 @@
48
47
<refsect1 role="returnvalues">
49
48
&reftitle.returnvalues;
50
49
<para>
51
-
Returns &true; if the opcode cache for <parameter>script</parameter> was
50
+
Returns &true; if the opcode cache for <parameter>filename</parameter> was
52
51
invalidated or if there was nothing to invalidate, or &false; if the opcode
53
52
cache is disabled.
54
53
</para>
...
...
@@ -64,7 +63,6 @@
64
63
</para>
65
64
</refsect1>
66
65
</refentry>
67
-

68
66
<!-- Keep this comment at the end of the file
69
67
Local variables:
70
68
mode: sgml
71
69