Skip to content

Latest commit

History

History
31 lines (24 loc) 路 535 Bytes

File metadata and controls

31 lines (24 loc) 路 535 Bytes

Which of the following can be used to release the lock applied by the flock() function where fp is a file pointer? Each correct answer represents a complete solution. (Choose two)

  • A)
flock($fp, LOCK_UN);
  • B)
fclose($fp);
  • C)
flock($fp, LOCK_EX);
  • D)
flock($fp, LOCK_SH);
Answer

Answer: A, B