phasync\file_get_contents()
function
Documentation
Coroutine aware read of file contents, similar to \file_get_contents().
Whenever IO blocks, other coroutines will be allowed to continue processing.
Signature
function file_get_contents(string $filename): string|false
Parameters
| Name | Type | Default |
|---|---|---|
$filename
|
string |
required |
Returns
string|false