array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'ru', ), 'this' => array ( 0 => 'function.swoole-async-write.php', 1 => 'swoole_async_write', ), 'up' => array ( 0 => 'ref.swoole-funcs.php', 1 => 'Функции Swoole', ), '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' => 'ru', '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 — Асинхронная запись данных в поток файла
$filename
,$content
,$offset
= ?,$callback
= ?
filename
Имя файла, в который будет произведена запись
content
Содержимое, записываемое в файл.
offset
Смещение.
callback