string fread ( int $handle , int $length )
1.读文件
a> 读最多 length 个字节
b> 到达 EOF
2.读网络流
当一个包可用时
3.用户空间流
已读取了 8192 个字节时
http://php.net/manual/zh/function.fread.php
http://cleanbugs.com/item/filesystom-function-fread-and-fwrite-in-detail-414257.html
string fread ( int $handle , int $length )
1.读文件
a> 读最多 length 个字节
b> 到达 EOF
2.读网络流
当一个包可用时
3.用户空间流
已读取了 8192 个字节时
http://php.net/manual/zh/function.fread.php
http://cleanbugs.com/item/filesystom-function-fread-and-fwrite-in-detail-414257.html
本文标题:fread读取结束条件
本文链接:https://www.haomeiwen.com/subject/yahisxtx.html
网友评论