コード例 #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));
 }