fgetc — 從文件指針中讀取字符
string fgetc ( resource $handle )
fgets — 從文件指針中讀取一行
string fgets ( resource $handle [, int $length ] )
file_get_contents — 將整個文件讀入一個字符串
string file_get_contents ( string $filename [, bool $use_include_path = false [, resource $context [, int $offset = -1 [, int $maxlen ]]]] )
file — 把整個文件讀入一個數組中
array file ( string $filename [, int $flags = 0 [, resource $context ]] )
fpassthru — 輸出文件指針處的所有剩余數據
int fpassthru ( resource $handle )
fread — 讀取文件(可安全用于二進制文件)
string fread ( resource $handle , int $length )
ftruncate — 將文件截斷到給定的長度
bool ftruncate ( resource $handle , int $size )
readfile — 輸出文件
int readfile ( string $filename [, bool $use_include_path = false [, resource $context ]] )