php8.5
Home/ Manual/ swoole / async/ Swoole\Async::writeFile

Swoole\Async::writeFile

PHP function Edit on GitHub ✎

(PECL swoole >= 1.9.0)

Description

Description

Swoole\Async::writeFile(string $filename, string $content, [callable $callback], [string $flags]): void

Func

Parameters

filename

The filename being written.

content

The content writing to the file.

callback
flags

Source: reference/swoole/swoole/async/writefile.xml · from the official PHP manual (php/doc-en)