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

From: Date: Fri, 03 Oct 2025 14:55:44 +0000
Subject: [doc-en] master: apcu-entry.xml Change the parameter name (#4818)
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-22779@lists.php.net to get a copy of this message
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

« previous php.doc.cvs (#22779) next »