PHP file_get_contents / file_put_contents lock test Conclusion file_get_contents should has LOCK support if write on save file the lock is not affect performance much Write & Read 01: unsafe At same time, same file R&W file_get_contents