InterviewSolution
Saved Bookmarks
| 1. |
Which function initializes the constants necessary for using the openlog(), clodelog(), and syslog() functions?(a) define_variable()(b) define_log_variable()(c) log_variable()(d) define_syslog_variable()The question was posed to me in an interview for internship.My doubt stems from Error Handling topic in section Error Handling and Exception Handling in PHP of PHP |
|
Answer» CORRECT OPTION is (d) define_syslog_variable() Easy explanation: If you’re running PHP VERSION 5.2.X or older, you need to EXECUTE this function before USING any of the following logging functions. |
|