示例#1
0
文件: FileTest.php 项目: sbuberl/fSQL
 public function testLock()
 {
     $file = new File(parent::$tempDir . "something.txt");
     $file->open('w+');
     $this->assertTrue($file->lock(LOCK_SH));
 }