reference/opcache/functions/opcache-get-status.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-get-status" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
5
4
<refnamediv>
6
5
<refname>opcache_get_status</refname>
...
...
@@ -10,11 +9,12 @@
10
9
<refsect1 role="description">
11
10
&reftitle.description;
12
11
<methodsynopsis>
13
-
<type>array</type><methodname>opcache_get_status</methodname>
14
-
<methodparam choice="opt"><type>boolean</type><parameter>get_scripts</parameter><initializer>&true;</initializer></methodparam>
12
+
<type class="union"><type>array</type><type>false</type></type><methodname>opcache_get_status</methodname>
13
+
<methodparam choice="opt"><type>bool</type><parameter>include_scripts</parameter><initializer>&true;</initializer></methodparam>
15
14
</methodsynopsis>
16
15
<para>
17
-
This function returns state information about the cache instance
16
+
This function returns state information about the in-memory cache instance. It will not return any
17
+
information about the file cache.
18
18
</para>
19
19
</refsect1>
20
20

...
...
@@ -22,7 +22,7 @@
22
22
&reftitle.parameters;
23
23
<variablelist>
24
24
<varlistentry>
25
-
<term><parameter>get_scripts</parameter></term>
25
+
<term><parameter>include_scripts</parameter></term>
26
26
<listitem>
27
27
<para>
28
28
Include script specific state information
...
...
@@ -35,7 +35,8 @@
35
35
<refsect1 role="returnvalues">
36
36
&reftitle.returnvalues;
37
37
<para>
38
-
Returns an array of information, optionally containing script specific state information
38
+
Returns an array of information, optionally containing script specific state information,
39
+
&return.falseforfailure;.
39
40
</para>
40
41
</refsect1>
41
42

...
...
@@ -58,7 +59,6 @@
58
59
</refsect1>
59
60

60
61
</refentry>
61
-

62
62
<!-- Keep this comment at the end of the file
63
63
Local variables:
64
64
mode: sgml
65
65