လက်ရှိတည်နေရာ: ပင်မစာမျက်နှာ> ဖန်ရှင်အမျိုးအစားများ> 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 ဖြတ်သန်းခြင်းဖြင့်ဝင်ရောက်ကြည့်ရှု။ လုပ်ဆောင်နိုင်သည်။
သက်ဆိုင်သောဖင်ခှ်ရှင်းများ
  • ဖိုင်ပိုင်ရှင်ကိုရယူပါ fileowner

    fileowner

    ဖိုင်ပိုင်ရှင်ကိုရယူ
  • ယာယီဖိုင်တစ်ခုဖန်တီးပါ tmpfile

    tmpfile

    ယာယီဖိုင်တစ်ခုဖန်တီး
  • ဖိုင်ညွှန်ပြမှုမှလိုင်းတစ်ခုကိုဖတ်ပြီး CSV အကွက်ကိုခွဲခြမ်းစိတ်ဖြာပါ fgetcsv

    fgetcsv

    ဖိုင်ညွှန်ပြမှုမှလို
  • ဖိုင်ပိုင်သည့်အုပ်စုကိုပြောင်းလဲပါ chgrp

    chgrp

    ဖိုင်ပိုင်သည့်အုပ်စု
  • ဖိုင်သို့မဟုတ် directory တည်ရှိရှိမရှိစစ်ဆေးပါ file_exists

    file_exists

    ဖိုင်သို့မဟုတ်direct
  • သင်္ကေတ link ၏ပိုင်ရှင်ကိုပြုပြင်မွမ်းမံ lchown

    lchown

    သင်္ကေတlink၏ပိုင်ရှင
  • ဖိုင်၏ inode ပြုပြင်မွမ်းမံအချိန်ကိုရယူပါ filectime

    filectime

    ဖိုင်၏inodeပြုပြင်မွ
  • ပေးထားသောဖိုင်အမည်သည်သာမန်ဖိုင်ရှိမရှိဆုံးဖြတ်ပါ is_file

    is_file

    ပေးထားသောဖိုင်အမည်သည
လူကြိုက်များသော ဆောင်းပါးများ