[DOC-CVS] [doc-en] master: apcu-entry.xml Change the parameter name (#4818)

[email protected] (Mikhail Alferov via GitHub)
Newsgroups php.doc.cvs
Message-ID <[email protected]>
Author: Mikhail Alferov (mmalferov)
Committer: GitHub (web-flow)
Pusher: Crell
Date: 2025-10-03T09:55:42-05:00

Commit: https://github.com/php/doc-en/commit/94281c46f6c390dbadc7629b643c6bd5843ec8d1
Raw diff: https://github.com/php/doc-en/commit/94281c46f6c390dbadc7629b643c6bd5843ec8d1.diff

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`

Changed paths:
  M  reference/apcu/functions/apcu-entry.xml


Diff:

diff --git a/reference/apcu/functions/apcu-entry.xml b/reference/apcu/functions/apcu-entry.xml
index 756a8d763883..4caa3dea9543 100644
--- a/reference/apcu/functions/apcu-entry.xml
+++ b/reference/apcu/functions/apcu-entry.xml
@@ -57,9 +57,9 @@
      <term><parameter>ttl</parameter></term>
      <listitem>
       <para>
-       Time To Live; store <parameter>var</parameter> in the cache for
+       Time To Live; store the <parameter>callback</parameter>'s return value in the cache for
        <parameter>ttl</parameter> seconds. After the
-       <parameter>ttl</parameter> has passed, the stored variable will be
+       <parameter>ttl</parameter> has passed, the stored entry will be
        expunged from the cache (on the next request). If no <parameter>ttl</parameter>
        is supplied (or if the <parameter>ttl</parameter> is
        <literal>0</literal>), the value will persist until it is removed from
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.