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

    fgetc

    ဖိုင်ညွှန်ပြမှအက္ခရာ
  • output ဖိုင် readfile

    readfile

    outputဖိုင်
  • ခက်ခဲတဲ့ဆက်သွယ်မှုတစ်ခုဖန်တီးပါ link

    link

    ခက်ခဲတဲ့ဆက်သွယ်မှုတစ
  • ဖိုင်စနစ်သို့မဟုတ် disk partition ကိုစုစုပေါင်းအရွယ်အစားကိုပြန်ပို့သည် disk_total_space

    disk_total_space

    ဖိုင်စနစ်သို့မဟုတ်di
  • Open Process ဖိုင်ညွှန်ပြ popen

    popen

    OpenProcessဖိုင်ညွှန
  • တင်ထားသောဖိုင်များကိုတည်နေရာအသစ်သို့ရွှေ့ပါ move_uploaded_file

    move_uploaded_file

    တင်ထားသောဖိုင်များကိ
  • လမ်းကြောင်းအတွက်ဖိုင်အမည်အပိုင်းကိုပြန်သွားပါ basename

    basename

    လမ်းကြောင်းအတွက်ဖိုင
  • ဖိုင်သို့မဟုတ်သင်္ကေတဆက်သွယ်မှုအကြောင်းသတင်းအချက်အလက်ပေးပါ lstat

    lstat

    ဖိုင်သို့မဟုတ်သင်္ကေ
လူကြိုက်များသော ဆောင်းပါးများ