phasync\fread()
function
Documentation
Coroutine aware binary-safe file read
Signature
function fread($stream, int $length): string|false
Parameters
| Name | Type | Default |
|---|---|---|
$stream
|
mixed | required |
$length
|
int |
required |
Returns
string|false