Assume multiple people write to the same file at the same time with the command
file_put_contents('file.txt', 'This is an example', LOCK_EX);
would it be possible that one person might not be able to write to the file, because the function file_put_contents
had to wait too long for the locked file? Would the function throw an exception, or would you just end up with a error like this:
"Fatal error: Maximum execution time of .. seconds exceeded"