လက်ရှိတည်နေရာ: ပင်မစာမျက်နှာ> ဖန်ရှင်အမျိုးအစားများ> 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
သက်ဆိုင်သောဖင်ခှ်ရှင်းများ
  • ဖိုင်တည်ရှိခြင်းရှိမရှိဆုံးဖြတ်ရန် is_readable

    is_readable

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

    parse_ini_file

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

    pathinfo

    ဖိုင်လမ်းကြောင်းအချက
  • ဖိုင်ပိုင်ရှင်ကိုရယူပါ fileowner

    fileowner

    ဖိုင်ပိုင်ရှင်ကိုရယူ
  • ဖိုင် pointer အနေအထားကိုပြန်လှည့်ပါ rewind

    rewind

    ဖိုင်pointerအနေအထားက
  • ပုံစံနှင့်အတူဖိုင်အမည်များကိုကိုက်ညီပါ fnmatch

    fnmatch

    ပုံစံနှင့်အတူဖိုင်အမ
  • Disk_Free_space အတွက် alias ကို diskfreespace

    diskfreespace

    Disk_Free_spaceအတွက်
  • ဖိုင်တစ်ခုသို့မဟုတ်လမ်းညွှန်အမည်ပြောင်းပါ rename

    rename

    ဖိုင်တစ်ခုသို့မဟုတ်လ