phpday 2027 - Call for Papers

swoole_async_readfile

(PECL swoole >= 1.9.0)

swoole_async_readfile — Read a file asynchronously

Açıklama

function swoole_async_readfile(string $filename, callable $callback): bool

Bağımsız Değişkenler

filename

The filename of the file being read.

callback
function callback(string $filename, string $content): mixed
filename

The name of the file.

content

The content read from the file.

Dönen Değerler

Başarı durumunda true, başarısızlık durumunda false döner.

User Contributed Notes

There are no user contributed notes for this page.
Adding new notes is disabled. Please see the links in the Found A Problem? section.
To Top