From 8a4924dba92874d8f0293f6183d2c316eb88e3a8 Mon Sep 17 00:00:00 2001 From: Jerry Ma Date: Fri, 8 Oct 2021 11:41:40 +0800 Subject: [PATCH] Update light-cache.md --- docs/component/store/light-cache.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/component/store/light-cache.md b/docs/component/store/light-cache.md index c8edd83b..a5e9745c 100644 --- a/docs/component/store/light-cache.md +++ b/docs/component/store/light-cache.md @@ -125,9 +125,9 @@ dump(LightCache::getExpire("test")); // 返回 10 ```php $s = LightCache::set("test", "hello", 20); //假设这条代码执行时时间戳是 1616838482 zm_sleep(10); -dump(LightCache::getExpire("test")); // 返回 1616838502 +dump(LightCache::getExpireTS("test")); // 返回 1616838502 zm_sleep(10); -dump(LightCache::getExpire("test")); // 返回 null +dump(LightCache::getExpireTS("test")); // 返回 null ``` ### LightCache::getMemoryUsage()