array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'es', ), 'this' => array ( 0 => 'swoole-async.write.php', 1 => 'Swoole\\Async::write', ), 'up' => array ( 0 => 'class.swoole-async.php', 1 => 'Swoole\\Async', ), 'prev' => array ( 0 => 'swoole-async.set.php', 1 => 'Swoole\\Async::set', ), 'next' => array ( 0 => 'swoole-async.writefile.php', 1 => 'Swoole\\Async::writeFile', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/swoole/swoole/async/write.xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
(PECL swoole >= 1.9.0)
Swoole\Async::write — Write data to a file stream asynchronously.
$filename
,$content
,$offset
= ?,$callback
= ?
filename
The filename being written.
content
The content writing to the file.
offset
The offset.
callback