php fscanf()函數使用方法詳解php
Definition and Usage函數
定義和用法post
The fscanf() function parses the input from an open file according to the specified format.ui
fscanf()函數的做用是:從文件中按照指定的格式輸入。orm
Syntax對象
語法ip
fscanf(file,format,mixed)ci
Parameter參數Description描述get
fileRequired. Specifies the file to checkinput
必要參數。指定文件對象
formatRequired. Specifies the format.
必要參數。指定格式
Possible format values:
可用的格式值:
%% - Returns a percent sign
%% - 返回一個「%」