Register Now

Login

Lost Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Which function initializes the constants necessary for using the openlog(), clodelog(), and syslog() functions?

a) log_variable()
b) define_variable()
c) define_log_variable()
d) define_syslog_variable()

Answer: d
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.

Join The Discussion