swoole_async_writefile
�첽д�ļ������ô˺�������������ء���д�����ʱ���Զ��ص�ָ����callback������
Swoole\Async::writeFile(string $filename, string $fileContent, callable $callback = null, int $flags = 0) swoole_async_writefile('test.log', $file_content, function($filename) { echo "wirte ok.\n"; }, $flags = 0);
- ����1Ϊ�ļ������ƣ������п�дȨ��
- ����2ΪҪд�뵽�ļ������ݣ�����д��4M
- ����3Ϊд��ɹ���Ļص���������ѡ
- ����4Ϊд���ѡ�����ʹ��FILE_APPEND��ʾ�ӵ��ļ�ĩβ
FILE_APPEND��1.9.1����߰汾����