reference/opcache/functions/opcache-reset.xml
8845dc32b53c8151edd4c0e691c2bc99f9ec46d0
...
...
@@ -16,7 +16,8 @@
16
16
<para>
17
17
This function resets the entire opcode cache. After calling
18
18
<function>opcache_reset</function>, all scripts will be reloaded and
19
-
reparsed the next time they are hit.
19
+
reparsed the next time they are hit. This function only resets
20
+
in-memory cache, not the file cache.
20
21
</para>
21
22
</refsect1>
22
23

...
...
@@ -29,7 +30,7 @@
29
30
&reftitle.returnvalues;
30
31
<para>
31
32
Returns &true; if the opcode cache was reset, or &false; if the opcode
32
-
cache is disabled.
33
+
cache is disabled or the restart is pending or in progress (see <function>opcache_get_status</function>).
33
34
</para>
34
35
</refsect1>
35
36

...
...
@@ -38,6 +39,7 @@
38
39
<para>
39
40
<simplelist>
40
41
<member><function>opcache_invalidate</function></member>
42
+
<member><function>opcache_get_status</function></member>
41
43
</simplelist>
42
44
</para>
43
45
</refsect1>
44
46