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

file_exists

ဖိုင်သို့မဟုတ် directory တည်ရှိရှိမရှိစစ်ဆေးပါ
အမည်:file_exists
အမျိုးအစား:ဖိုင်စနစ်
programming language:php
တစ်ကြောင်းဖြင့်အကျဉ်းချုပ်:ဖိုင် (သို့) လမ်းညွှန်တည်ရှိမလားစစ်ဆေးပါ။

နမူနာ

 <span class="token php language-php"><span class="token delimiter important"><? PHP</span>
<span class="token keyword">echo</span> <span class="token function">file_exists</span> <span class="token punctuation">(</span> <span class="token string double-quoted-string">"test.txt"</span> <span class="token punctuation">)</span> <span class="token punctuation">;</span>
<span class="token delimiter important">></span></span>

ထုတ်လုပ်မှု -

 1
သက်ဆိုင်သောဖင်ခှ်ရှင်းများ
  • ဒေတာ (သို့သော် Metadata မဟုတ်) ဖိုင်တစ်ခုသို့ synchronize လုပ်ပါ fdatasync

    fdatasync

    ဒေတာ(သို့သော်Metadat
  • Open File pointer ကိုပိတ်ပါ fclose

    fclose

    OpenFilepointerကိုပိ
  • Realpath cache entry ကိုရယူပါ realpath_cache_get

    realpath_cache_get

    Realpathcacheentryကိ
  • File သို့ပို့ကုန်ကြားခံအကြောင်းအရာ fflush

    fflush

    Fileသို့ပို့ကုန်ကြား
  • is_writeTratch alias is_writeable

    is_writeable

    is_writeTratchalias
  • ဖိုင်အမျိုးအစားကိုရယူပါ filetype

    filetype

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

    glob

    ပုံစံများနှင့်ကိုက်ည
  • လမ်းကြောင်းအတွက် directory အစိတ်အပိုင်းသို့ပြန်သွားပါ dirname

    dirname

    လမ်းကြောင်းအတွက်dire