array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'ja', ), 'this' => array ( 0 => 'function.swoole-async-readfile.php', 1 => 'swoole_async_readfile', ), 'up' => array ( 0 => 'ref.swoole-funcs.php', 1 => 'Swoole 関数', ), 'prev' => array ( 0 => 'function.swoole-async-read.php', 1 => 'swoole_async_read', ), 'next' => array ( 0 => 'function.swoole-async-set.php', 1 => 'swoole_async_set', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/swoole/functions/swoole-async-readfile.xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
(PECL swoole >= 1.9.0)
swoole_async_readfile — Read a file asynchronously
filename
The filename of the file being read.
callback
filename
The name of the file.
content
The content read from the file.