array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'fr', ), 'this' => array ( 0 => 'function.swoole-async-write.php', 1 => 'swoole_async_write', ), 'up' => array ( 0 => 'ref.swoole-funcs.php', 1 => 'Swoole Fonctions', ), 'prev' => array ( 0 => 'function.swoole-async-set.php', 1 => 'swoole_async_set', ), 'next' => array ( 0 => 'function.swoole-async-writefile.php', 1 => 'swoole_async_writefile', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/swoole/functions/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