|
stream_get_lineGets line from stream resource up to a given delimiter Description
stringfalse stream_get_line(resource
$stream, int $length, string $ending = "")Gets a line from the given handle.
Reading ends when 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. Parameters
Return Values
Returns a string of up to Errors/Exceptions
Throws a ValueError if Changelog
See Also
|