Q8
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()
AnswerAnswer: Option D
Solution
Answer: Option D
Solution:
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.