Home » PHP » PHP Error Handling » Question
  1. Which function initializes the constants necessary for using the openlog(), clodelog(), and syslog() functions?
    1. log_variable()
    2. define_syslog_variable()
    3. define_log_variable()
    4. define_variable()
    5. None of these
Correct Option: B

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.



Your comments will be displayed only after manual approval.