svn: /phpdoc/en/trunk/reference/apc/functions/ apc-fetch.xml
| From: | Scott MacVicar | Date: | Wed, 23 Sep 2009 20:48:00 +0000 |
| Subject: | svn: /phpdoc/en/trunk/reference/apc/functions/ apc-fetch.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-4971@lists.php.net to get a copy of this message | ||
scottmac Wed, 23 Sep 2009 20:48:00 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=288624
Log:
Update apc_fetch() to show that multiple keys can be retrieved.
Changed paths:
U phpdoc/en/trunk/reference/apc/functions/apc-fetch.xml
Modified: phpdoc/en/trunk/reference/apc/functions/apc-fetch.xml
===================================================================
--- phpdoc/en/trunk/reference/apc/functions/apc-fetch.xml 2009-09-23 20:23:48 UTC (rev 288623)
+++ phpdoc/en/trunk/reference/apc/functions/apc-fetch.xml 2009-09-23 20:48:00 UTC (rev 288624)
@@ -11,7 +11,7 @@
&reftitle.description;
<methodsynopsis>
<type>mixed</type><methodname>apc_fetch</methodname>
-
<methodparam><type>string</type><parameter>key</parameter></methodparam>
+
<methodparam><type>mixed</type><parameter>key</parameter></methodparam>
<methodparam choice="opt"><type>bool</type><parameter
role="reference">success</parameter></methodparam>
</methodsynopsis>
<para>
@@ -27,7 +27,8 @@
<listitem>
<para>
The <parameter>key</parameter> used to store the value (with
- <function>apc_store</function>).
+ <function>apc_store</function>). If an array is passed then each
+ element is fetched and returned.
</para>
</listitem>
</varlistentry>
@@ -45,7 +46,7 @@
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
- The stored variable on success; &false; on failure
+ The stored variable or array of variables on success; &false; on failure
</para>
</refsect1>