လက်ရှိတည်နေရာ: ပင်မစာမျက်နှာ> ဖန်ရှင်အမျိုးအစားများ> realpath_cache_get

realpath_cache_get

Realpath cache entry ကိုရယူပါ
အမည်:realpath_cache_get
အမျိုးအစား:ဖိုင်စနစ်
programming language:php
တစ်ကြောင်းဖြင့်အကျဉ်းချုပ်:လက်ရှိ realthpath cache list ကိုရယူပါ

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 缓存信息可用。"; }

မှတ်စုများ

  1. RealPath_cache_get () function ကိုပြန်လည်ရယူသည် Realpath cache ကိုရရှိနိုင်သည့်အခါသာရလဒ်များရရှိသည်။ Realpath cache ကို enable လုပ်မထားပါကသို့မဟုတ်ဗလာမပေါ်ပါက function သည်မှားသည်။
  2. Realpath_cache_get () function သည် PHP 7 နှင့်နောက်ဆက်တွဲဗားရှင်းများတွင်လုပ်ဆောင်သည်။
  3. RealPath_cache_get () function ၏ရလဒ်မှာ Key သည်လမ်းကြောင်းမှန်ပေါ်ဖြစ်သော activative ခင်းကျင်းမှုတစ်ခုဖြစ်သည်။ carded realitpath အချက်အလက်အားလုံးကို array ဖြတ်သန်းခြင်းဖြင့်ဝင်ရောက်ကြည့်ရှု။ လုပ်ဆောင်နိုင်သည်။
သက်ဆိုင်သောဖင်ခှ်ရှင်းများ
  • ပေးထားသောအရှည်သို့ဖိုင်ကို truncate ftruncate

    ftruncate

    ပေးထားသောအရှည်သို့ဖိ
  • ပုံစံများနှင့်ကိုက်ညီသောဖိုင်လမ်းကြောင်းများကိုရှာပါ glob

    glob

    ပုံစံများနှင့်ကိုက်ည
  • ဖွင့်ထားသောဖိုင်ညွှန်ကြားချက်မှတဆင့်ဖိုင်အချက်အလက်များကိုရယူပါ fstat

    fstat

    ဖွင့်ထားသောဖိုင်ညွှန
  • ဖိုင်လမ်းကြောင်းအချက်အလက်ကိုပြန်ပို့သည် pathinfo

    pathinfo

    ဖိုင်လမ်းကြောင်းအချက
  • is_writeTratch alias is_writeable

    is_writeable

    is_writeTratchalias
  • configuration ဖိုင်ကိုခွဲခြမ်းစိတ်ဖြာပါ parse_ini_file

    parse_ini_file

    configurationဖိုင်ကိ
  • ဖိုင်ကိုကူးယူပါ copy

    copy

    ဖိုင်ကိုကူးယူပါ
  • စာရွက်စာတမ်းအကြောင်းသတင်းအချက်အလက်ပေးပါ stat

    stat

    စာရွက်စာတမ်းအကြောင်း
လူကြိုက်များသော ဆောင်းပါးများ