Tag: file_put_contents
fwrite 和file_put_contents谁更快? LOCK_EX
/**
* author:hanyh2004@gmail.com
* copyright:转载请注明出处
*/
fwrite 和file_put_contents谁更快?
==========================================
看两者的函数原型:
int fwrite ( resource $handle, string $string [, int $length] )
int file_put_contents ( string $filename, mixed $data [, int $flags [, resource $context]] )
fwrite简单... [阅读全文]