array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'ja', ), 'this' => array ( 0 => 'function.swoole-async-writefile.php', 1 => 'swoole_async_writefile', ), 'up' => array ( 0 => 'ref.swoole-funcs.php', 1 => 'Swoole 関数', ), 'prev' => array ( 0 => 'function.swoole-async-write.php', 1 => 'swoole_async_write', ), 'next' => array ( 0 => 'function.swoole-clear-error.php', 1 => 'swoole_clear_error', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/swoole/functions/swoole-async-writefile.xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
(PECL swoole >= 1.9.0)
swoole_async_writefile — Write data to a file asynchronously
$filename
,$content
,$callback
= ?,$flags
= 0
filename
The filename being written.
content
The content writing to the file.
callback
flags