PHP 8.1.28 Released!

Swoole\Async::write

(PECL swoole >= 1.9.0)

Swoole\Async::writeEscreve dados em um fluxo de arquivo de forma assíncrona.

Descrição

public static Swoole\Async::write(
    string $filename,
    string $content,
    int $offset = ?,
    callable $callback = ?
): void

Parâmetros

filename

O nome do arquivo sendo escrito.

content

O conteúdo a ser escrito no arquivo.

offset

O deslocamento.

callback

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top