Overview
KB
Technical FAQ
PHP Manual
CSS2 Manual
HTML Manual
JS Guide
JS Reference
PhpDock Manual
Nu-Coder Manual
PhpExpress Manual
PHP Joomla
Development
Learn PHP
 
<Swoole\Async::writeSwoole\Atomic>
^Swoole\AsyncLast updated: Mon, 26 Oct 2026

Swoole\Async::writeFile

(PECL swoole >= 1.9.0)

Swoole\Async::writeFile — Description

Description

public static function Swoole\Async::writeFile(
    string $filename,
    string $content,
    callable $callback = ?,
    string $flags = ?
): void

Warning

This function is currently not documented; only its argument list is available.

Parameters

filename

The filename being written.

content

The content writing to the file.

callback

flags


<Swoole\Async::writeSwoole\Atomic>
^Swoole\AsyncLast updated: Mon, 26 Oct 2026