php-swoole异步写入读取

提供以上两种方式读取: <?php //异步读取文件 swoole_async_readfile(__DIR__."/1.txt",function($filename,$content){ echo "$filename $content"; });   写入方式: <?php //异步写入文件 $content = "nihao ,woshi,nidandong"; swoole_a
相关文章
相关标签/搜索