Q. Which PHP function locks a file for exclusive writing? (A) file_lock() (B) lockfile() (C) flock() (D) fmutex() ποΈ Show Answer π¬ Discuss π Share β‘Menu β Correct Answer: (C) flock() Explanation: flock() provides portable advisory file locking.