Problem Statement
Which PHP function writes a message to the server's error log?
Explanation
The error_log() function sends error messages to a log file or email for debugging without displaying them to users.
Code Solution
SolutionRead Only
error_log('Database connection failed');