swoole_async_writefile
(PECL swoole >= 1.9.0)
swoole_async_writefile — Write data to a file asynchronously
Description
function swoole_async_writefile(
string
string
callable
int
): bool
string
$filename,string
$content,callable
$callback = ?,int
$flags = 0): bool
Parameters
filename
The filename being written.
content
The content writing to the file.
callback
flags
来源:PHP Documentation Group · 作者与贡献记录 · CC BY 3.0。离线整理了版式、链接和媒体显示。
