From 2b01af07027eed3a0758b3a859fb9aea911ac9a4 Mon Sep 17 00:00:00 2001 From: Mikhail Alferov Date: Mon, 11 Aug 2025 13:50:38 +0300 Subject: [PATCH 1/2] apcu-entry.xml Change the parameter name Probably, the var is an artifact that came from another APCu function, such as `apcu_store()` --- reference/apcu/functions/apcu-entry.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reference/apcu/functions/apcu-entry.xml b/reference/apcu/functions/apcu-entry.xml index 756a8d763883..bc9f0dfe6ecf 100644 --- a/reference/apcu/functions/apcu-entry.xml +++ b/reference/apcu/functions/apcu-entry.xml @@ -57,7 +57,7 @@ ttl - Time To Live; store var in the cache for + Time To Live; store the callback's return value in the cache for ttl seconds. After the ttl has passed, the stored variable will be expunged from the cache (on the next request). If no ttl From 4bb60e9620c09384e77c5ac062bdb72b5c9f9ba1 Mon Sep 17 00:00:00 2001 From: Mikhail Alferov Date: Mon, 11 Aug 2025 14:07:54 +0300 Subject: [PATCH 2/2] apcu-entry.xml Replace the `variable` to `entry` --- reference/apcu/functions/apcu-entry.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reference/apcu/functions/apcu-entry.xml b/reference/apcu/functions/apcu-entry.xml index bc9f0dfe6ecf..4caa3dea9543 100644 --- a/reference/apcu/functions/apcu-entry.xml +++ b/reference/apcu/functions/apcu-entry.xml @@ -59,7 +59,7 @@ Time To Live; store the callback's return value in the cache for ttl seconds. After the - ttl has passed, the stored variable will be + ttl has passed, the stored entry will be expunged from the cache (on the next request). If no ttl is supplied (or if the ttl is 0), the value will persist until it is removed from