πŸ“Š PHP
Q. Which PHP function locks a file for exclusive writing?
  • (A) file_lock()
  • (B) lockfile()
  • (C) flock()
  • (D) fmutex()
πŸ’¬ Discuss
βœ… Correct Answer: (C) flock()

Explanation: flock() provides portable advisory file locking.

Explanation by: Mr. Dubey
flock() provides portable advisory file locking.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
1
Total Visits
πŸ“½οΈ
23 h ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
85%
Success Rate