Skip to content

Commit 94281c4

Browse files
authored
apcu-entry.xml Change the parameter name (#4818)
* apcu-entry.xml Change the parameter name Probably, the <parameter>var</parameter> is an artifact that came from another APCu function, such as `apcu_store()` * apcu-entry.xml Replace the `variable` to `entry`
1 parent f56de7e commit 94281c4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

reference/apcu/functions/apcu-entry.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,9 @@
5757
<term><parameter>ttl</parameter></term>
5858
<listitem>
5959
<para>
60-
Time To Live; store <parameter>var</parameter> in the cache for
60+
Time To Live; store the <parameter>callback</parameter>'s return value in the cache for
6161
<parameter>ttl</parameter> seconds. After the
62-
<parameter>ttl</parameter> has passed, the stored variable will be
62+
<parameter>ttl</parameter> has passed, the stored entry will be
6363
expunged from the cache (on the next request). If no <parameter>ttl</parameter>
6464
is supplied (or if the <parameter>ttl</parameter> is
6565
<literal>0</literal>), the value will persist until it is removed from

0 commit comments

Comments
 (0)