Swoole\Async::write

(PECL swoole >= 1.9.0)

Swoole\Async::writeEscribe de manera asíncrona datos en un flujo de fichero.

Descripción

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

Parámetros

filename

El nombre del fichero en el cual escribir.

content

El contenido a escribir en el fichero.

offset

El desplazamiento.

callback

add a note

User Contributed Notes

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