session_cache_expire
လက်ရှိ cache သက်တမ်းကုန်ဆုံးသို့ပြန်သွားပါ
function name: session_cache_xpire ()
function ကိုဖော်ပြချက် - session_cache_expire () ကိုလက်ရှိ session ၏ cache သက်တမ်းကုန်ဆုံးချိန်ကိုရယူရန်သို့မဟုတ်သတ်မှတ်ရန်အသုံးပြုသည်။
function parameters တွေကို - အဘယ်သူမျှမ
Return Value: အသစ်တစ်ခုကို cache သက်တမ်းကုန်ဆုံးချိန်ကိုသတ်မှတ်ထားပါကယခင် cache သက်တမ်းကုန်ဆုံးချိန်ကိုပြန်ပို့သည်။ အသစ်တစ်ခုကို cache သက်တမ်းကုန်ဆုံးချိန်မသတ်မှတ်ပါကလက်ရှိ cache သက်တမ်းကုန်ဆုံးချိန်ကိုပြန်ပို့သည်။
သက်ဆိုင်သောဗားရှင်း - PHP 4.2.0 နှင့်အထက်
အသုံးပြုမှုဥပမာ:
$cacheExpire = session_cache_expire(); echo "当前会话的缓存过期时间为:{$cacheExpire} 分钟";
$previousExpire = session_cache_expire(60); echo "先前的缓存过期时间为:{$previousExpire} 分钟";
မှတ်စုများ