adplus-dvertising
frame-decoration

Question

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

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

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

Similar Questions

Discover Related MCQs

Q. Which logging option’s description is, if an error occurs when writing to the syslog, send output to the system console?

Q. Which function is responsible for sending a custom message to the system log?

Q. Which version of PHP was added with Exception handling?

Q. How many methods are available for the exception class?

Q. Which version added the method getPrevious()?

Q. Which of the following statements invoke the exception class?

Q. Which one of the following is the right description for the method getMessage() ?

Q. You can extend the exception base class, but you cannot override any of the preceding methods because the are declared as__________

Q. What does SPL stand for?

Q. How many predefined exceptions does SPL provide access to?

Q. Which of the following is/are not an exception?

i) BadFunctionCallException
ii) BadMethodCallException
iii) LogicException
iv) DomainException

Q. Which of the following is/are an exception?

i) OutOfBoundException
ii) OutOfRangeException
iii) OverflowException
iv) UnderflowException

Q. Which of the following is/are an external data?

i) Cookies
ii) Input data from a form
iii) Server Variables
iv) Web services data

Q. How many types of filtering are present in PHP?

Q. Which one of the following filter is used to filter several variables with the same or different filters?

Q. Which one of the following does not describe a validating filter?

Q. Which one of the following filter checks if variable of specified type exists?