bool swoole_async_readfile    ( string $filename   , string $callback   )

swoole_async_readfileRead a file asynchronously

filename

The filename being read.

callback
mixed callback ( string $filename , string $content )
filename

The name of the file.

content

The content readed from the file.