PHP fscanf() လုပ်ဆောင်ချက်
❮ PHP ဖိုင်စနစ် အကိုးအကားအဓိပ္ပါယ်နှင့် အသုံးပြုမှု
fscanf() လုပ်ဆောင်ချက်သည် သတ်မှတ်ထားသော ဖော်မတ်အရ ဖွင့်ထားသော ဖိုင်တစ်ခုမှ ထည့်သွင်းမှုကို ခွဲခြမ်းစိပ်ဖြာသည်။
မှတ်ချက်။ ဆိုလိုသည်မှာ ဖော်မတ်စာတန်းရှိ တက်ဘ်တစ်ခု (\t) သည် input stream တွင် space character တစ်ခုနှင့် ကိုက်ညီနိုင်သည်။
အထားအသို
fscanf(file, format, mixed)
ကန့်သတ်တန်ဖိုးများ
Parameter | Description |
---|---|
file | Required. Specifies the file to check |
format | Required. Specifies the format. Possible format values:
Additional format values. These are placed between the % and the letter (example %.2f):
Note: If multiple additional format values are used, they must be in the same order as above. |
mixed | Optional. |
နည်းပညာဆိုင်ရာအသေးစိတ်
ပြန်ပို့တန်ဖိုး- | ဖတ်ပြီးသော စာကြောင်း ၊ FALSE သည် မအောင်မြင်ပါ။ |
---|---|
PHP ဗားရှင်း- | 4.0.1+ |
❮ PHP ဖိုင်စနစ် အကိုးအကား