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()
Correct Answer: define_syslog_variable()
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.