stream_get_line
(PHP 5)
stream_get_line — Gets line from stream resource up to a given delimiter
Description
string stream_get_line
( resource $handle
, int $length
[, string $ending
] )
If an error occurs, returns FALSE.
This function is nearly identical to fgets()
except in that it allows end of line delimiters other than the
standard \n, \r, and \r\n, and does not
return the delimiter itself.
See also fread(),
fgets(), and
fgetc().