phasync\fgets() function

Documentation

Coroutine aware get line from file pointer

Signature

function fgets($stream, ?int $length = NULL): string|false

Parameters

NameTypeDefault
$stream mixed required
$length ?int NULL

Returns

string|false

Source

src/functions.php:161-164