Which function initializes the constants necessary for using the openlog(), clodelog(), and syslog() functions?
Correct answer
D. define_syslog_variable()
13 views
D. define_syslog_variable()
13 views
In PHP, the openlog(), closelog(), and syslog() functions are used for system logging. To use these functions, the openlog() function must be called first to initialize the logging system. The openlog() function initializes the constants necessary for subsequent logging operations.
Not sure why the answer is D? Ask here and get an explanation.