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()

Answer: Option D

Solution(By Examveda Team)

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.

This Question Belongs to PHP >> Exceptions And Error Handling

Join The Discussion

Related Questions on Exceptions and Error Handling