realpath_cache_get
Realpath cache entry ကိုရယူပါ
function name: realpath_cache_get ()
သက်ဆိုင်သောဗားရှင်း - PHP 5> = 5.3.2, PHP 7
function ကိုဖော်ပြချက် - Realpath_cache_get () function ကိုလက်ရှိ recial persitpath cache list ကိုရရှိရန်အသုံးပြုသည်။
အသုံးပြုမှု:
RealPath_cache_get (voder): array | false
parameters တွေကို - အဘယ်သူမျှမ parameters တွေကို
Reward Value: Realpath cache list ကိုအောင်မြင်စွာရရှိနိုင်ပါက cache information ပါ 0 င်သောဆက်စပ်သောခင်းကျင်းမှုကိုပြန်ပို့သည်။ အကယ်. cache သတင်းအချက်အလက်မရရှိပါကမှားယွင်းစွာပြန်လာသည်။
ဥပမာ -
// 获取realpath 缓存列表$cacheList = realpath_cache_get(); if ($cacheList !== false) { foreach ($cacheList as $path => $realpath) { echo "路径: " . $path . " => 真实路径: " . $realpath . "<br>"; } } else { echo "无realpath 缓存信息可用。"; }
မှတ်စုများ