$fread
From Scriptwiki
There are two different syntax's or $fread:
Returns the next $crlf delimited line.
$fread(name | N)
Returns the number of bytes read into the specified binary variable, where M is the number of bytes to read.
$fread(name | N, M, &binvar)