1.

Which function is responsible for sending a custom message to the system log?(a) systemlog()(b) syslog()(c) log_system()(d) sys_log()The question was posed to me during an interview for a job.Query is from Error Handling topic in division Error Handling and Exception Handling in PHP of PHP

Answer»

Right CHOICE is (B) syslog()

For EXPLANATION I would say: The FUNCTION syslog() generates a log message that will be distributed by the SYSTEM logger.



Discussion

No Comment Found

Related InterviewSolutions