phasync\fgets()
function
Documentation
Coroutine aware get line from file pointer
Signature
function fgets($stream, ?int $length = NULL): string|false
Parameters
| Name | Type | Default |
|---|---|---|
$stream
|
mixed | required |
$length
|
?int |
NULL
|
Returns
string|false