Answer & Solution
Answer: Option C
Solution:
Exceptions can be logged to a file in PHP by catching them using the try-catch block and then logging the exception details using functions like error_log() within the catch block.